# HG changeset patch # User Pierre-Yves David # Date 2011-12-27 20:12:09 # Node ID 8edd9f2c7b571dadf0aafe3702286803fc2be761 # Parent 306e84e8bbe9a34a9cf7d6554900dfce774df749 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. diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -47,7 +47,7 @@ command = cmdutil.command(cmdtable) _('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')),