Always push to default (or ability to make targets read-only)
Created originally on Bitbucket by skrysmanski (Sebastian Krysmanski)
Please make the "Push" (and "Pull", "Outgoing", "Incoming") buttons in the THG Workbench toolbar use the "default" repository, and not the one selected in the "Synchronize" view.
I have a lot repositories that pull (and only pull) from other repositories (beside the "default" repository). Now, when my last operation was to pull from such a non-default repository, and I forget to change the selection back to the default repository in the "Synchronize" view, the next time I hit the "Push" button (usually from the "Commit" view) I push accidentally to the non-default repository instead of the default one.
Alternative ideas:
- Add the ability to mark certain repositories (in the "Synchronize" view) "read-only" to avoid accidental pushes to them.
- Give the user a dialog before pushing where he/she can select the repository (URL) to be used.