Mercurial > hgsubversion
diff 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 |
line wrap: on
line diff
--- a/svncommands.py +++ b/svncommands.py @@ -10,6 +10,7 @@ import hg_delta_editor import svnwrap import util import utility_commands +import svnexternals def incoming(ui, svn_url, hg_repo_path, skipto_rev=0, stupid=None, @@ -228,6 +229,7 @@ table = { 'help': help, 'rebuildmeta': rebuildmeta, 'incoming': incoming, + 'updateexternals': svnexternals.updateexternals, } table.update(utility_commands.table)