Mercurial > hgsubversion
diff __init__.py @ 264:112d57bb736e
rebase: moved to wrappers, now a wrapper around rebase triggered with --svn.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 13 Apr 2009 21:51:12 -0500 |
parents | ffccf0080e54 |
children | e0f9fa0acc03 |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -69,6 +69,14 @@ def uisetup(ui): 'remap file to exclude paths or include only certain paths'), ]) + try: + rebase = extensions.find('rebase') + if rebase: + entry = extensions.wrapcommand(rebase.cmdtable, 'rebase', wrappers.rebase) + entry[1].append(('', 'svn', None, 'automatic svn rebase', )) + except: + pass + def svn(ui, repo, subcommand, *args, **opts): '''see detailed help for list of subcommands'''