comparison svncommands.py @ 291:ba8e91a7c077

Add 'updateexternals' to synchronize externals with remote repo. To synchronize definitions in working copy .hgexternals with remote svn repository: $ hg svn updateexternals To synchronize them with .hgexternals at revision REV: $ hg svn updateexternals REV Last synchronized externals referenced are stored in .hg/svn/externals (a dump of the synchronized .hgexternals).
author Patrick Mezard <pmezard@gmail.com>
date Wed, 22 Apr 2009 23:24:58 +0200
parents a119ab6135f3
children 1d48d9a34c19
comparison
equal deleted inserted replaced
290:153266401676 291:ba8e91a7c077
8 8
9 import hg_delta_editor 9 import hg_delta_editor
10 import svnwrap 10 import svnwrap
11 import util 11 import util
12 import utility_commands 12 import utility_commands
13 import svnexternals
13 14
14 15
15 def incoming(ui, svn_url, hg_repo_path, skipto_rev=0, stupid=None, 16 def incoming(ui, svn_url, hg_repo_path, skipto_rev=0, stupid=None,
16 tag_locations='tags', authors=None, filemap=None, **opts): 17 tag_locations='tags', authors=None, filemap=None, **opts):
17 """show incoming revisions from Subversion 18 """show incoming revisions from Subversion
226 table = { 227 table = {
227 'update': update, 228 'update': update,
228 'help': help, 229 'help': help,
229 'rebuildmeta': rebuildmeta, 230 'rebuildmeta': rebuildmeta,
230 'incoming': incoming, 231 'incoming': incoming,
232 'updateexternals': svnexternals.updateexternals,
231 } 233 }
232 234
233 table.update(utility_commands.table) 235 table.update(utility_commands.table)
234 236
235 237