diff svncommands.py @ 307:1d48d9a34c19

Put authormap into a separate file, and make it much better too. See the doc-strings in maps.py for details.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 03 May 2009 15:28:43 +0200
parents ba8e91a7c077
children 75f082b5897e
line wrap: on
line diff
--- a/svncommands.py
+++ b/svncommands.py
@@ -22,7 +22,7 @@ def incoming(ui, svn_url, hg_repo_path, 
     initializing_repo = False
     user, passwd = util.getuserpass(opts)
     svn = svnwrap.SubversionRepo(svn_url, user, passwd)
-    author_host = "@%s" % svn.uuid
+    author_host = ui.config('hgsubversion', 'defaulthost', svn.uuid)
     tag_locations = tag_locations.split(',')
     hg_editor = hg_delta_editor.HgChangeReceiver(hg_repo_path,
                                                  ui_=ui,