rebase: add a "D" short option for detach
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 27 Dec 2011 21:12:09 +0100
changeset 15737 8edd9f2c7b57
parent 15736 306e84e8bbe9
child 15738 e86dd8dfdea0
rebase: add a "D" short option for detach Detach is usually what I want when I use --source or (in particular) --rev. Having a shorter option make it less an hassle to use it.
hgext/rebase.py
--- a/hgext/rebase.py	Tue Dec 27 20:45:46 2011 +0100
+++ b/hgext/rebase.py	Tue Dec 27 21:12:09 2011 +0100
@@ -47,7 +47,7 @@
      _('read collapse commit message from file'), _('FILE')),
     ('', 'keep', False, _('keep original changesets')),
     ('', 'keepbranches', False, _('keep original branch names')),
-    ('', 'detach', False, _('force detaching of source from its original '
+    ('D', 'detach', False, _('force detaching of source from its original '
                             'branch')),
     ('t', 'tool', '', _('specify merge tool')),
     ('c', 'continue', False, _('continue an interrupted rebase')),