Mercurial > hgsubversion
diff fetch_command.py @ 167:3cd6a7354207
fetch: Add support for an authormap which can rename authors, intended for
repository conversion.
author | Graham Booker <gbooker@cod3r.com> |
---|---|
date | Tue, 30 Dec 2008 20:13:32 -0600 |
parents | db88e528e8e6 |
children | 4f26fa049452 |
line wrap: on
line diff
--- a/fetch_command.py +++ b/fetch_command.py @@ -23,6 +23,7 @@ def print_your_svn_is_old_message(ui): # @util.register_subcommand('pull') def fetch_revisions(ui, svn_url, hg_repo_path, skipto_rev=0, stupid=None, tag_locations='tags', + authors=None, **opts): """Pull new revisions from Subversion. """ @@ -47,7 +48,8 @@ def fetch_revisions(ui, svn_url, hg_repo ui_=ui, subdir=svn.subdir, author_host=author_host, - tag_locations=tag_locations) + tag_locations=tag_locations, + authors=authors) if os.path.exists(hg_editor.uuid_file): uuid = open(hg_editor.uuid_file).read() assert uuid == svn.uuid