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.
--- 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')),