Context menu for assigning resources to changesets in the Synchronize view
I intend to add functionality to the changeset handling in the synchronize view.
More specifically, to the way that resources to be committed are dispatched and assigned to different changesets.
The current functionality uses drag and drop: resources are assigned or reassigned to a changeset by dragging them from the default changeset (or from their current changeset) to the target changeset. One has to create the target changeset first.
The new functionality will replicate the way Subclipse handles assigning (or reassigning) a resource to a changeset. Note: Subclipse doesn't support drag and drop.
- Assigning a resource to a changeset is done through the context menu of either the resource or one of its parents (folders or even project) and if done on a parent, all children resources are reassigned.
- Changesets need not exist before reassigning resources.
- In case resources are reassigned to a new changeset, a changeset definition dialog will open with a default title and a default commit message that the user can change.
- Existing changesets are listed in the context menu and selecting a changeset in the menu results in all highlighted resources being moved to the changeset.
My intention is to implement this, with relevant configuration options (e.g. the number of changesets to show in the context menu, or whether to disable one of the two functionalities – drag & drop and context menu).
The motivation is to help people (such as myself) transition back and forth from Eclipse team plugins that use the context menu way to MercurialEclipse.
Discussion is officially open.