Commits

Anonymous committed da78456

repowidget: move the "Copy Hash" file context menu item

This improves the dialog by improving the placement of the "Copy hash" command.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repowidget.py

               self.backoutToRevision)
         entry(menu)
 
+        entry(menu, None, isrev, _('Copy hash'), 'copy-hash',
+              self.copyHash)
+        entry(menu)
+
         submenu = menu.addMenu(_('Export'))
         entry(submenu, None, isrev, _('Export patch...'), 'hg-export',
               self.exportRevisions)
               self.copyPatch)
         entry(menu)
 
-        entry(menu, None, isrev, _('Copy hash'), 'copy-hash',
-              self.copyHash)
-        entry(menu)
-
         # hg >= 2.1
         if hasattr(commands, 'phase'):
             submenu = menu.addMenu(_('Change phase to'))