comparison __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
comparison
equal deleted inserted replaced
263:d978192f0d63 264:112d57bb736e
67 ('', 'svn-authors', '', 'username mapping filename'), 67 ('', 'svn-authors', '', 'username mapping filename'),
68 ('', 'svn-filemap', '', 68 ('', 'svn-filemap', '',
69 'remap file to exclude paths or include only certain paths'), 69 'remap file to exclude paths or include only certain paths'),
70 ]) 70 ])
71 71
72 try:
73 rebase = extensions.find('rebase')
74 if rebase:
75 entry = extensions.wrapcommand(rebase.cmdtable, 'rebase', wrappers.rebase)
76 entry[1].append(('', 'svn', None, 'automatic svn rebase', ))
77 except:
78 pass
79
72 80
73 def svn(ui, repo, subcommand, *args, **opts): 81 def svn(ui, repo, subcommand, *args, **opts):
74 '''see detailed help for list of subcommands''' 82 '''see detailed help for list of subcommands'''
75 83
76 # guess command if prefix 84 # guess command if prefix