diff fetch_command.py @ 168:4f26fa049452

authormap: Add tests, fix in stupid mode.
author Augie Fackler <durin42@gmail.com>
date Tue, 30 Dec 2008 20:14:03 -0600
parents 3cd6a7354207
children f1919e1c35bf
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -514,8 +514,7 @@ def stupid_svn_server_pull_rev(ui, svn, 
                                          r.message or '...',
                                          files_touched,
                                          filectxfn,
-                                         '%s%s' % (r.author,
-                                                   hg_editor.author_host),
+                                         hg_editor.authorforsvnauthor(r.author),
                                          date,
                                          extra)
             ha = hg_editor.repo.commitctx(current_ctx)
@@ -553,8 +552,7 @@ def stupid_svn_server_pull_rev(ui, svn, 
                                      r.message or '...',
                                      files_touched,
                                      filectxfn,
-                                     '%s%s' % (r.author,
-                                               hg_editor.author_host),
+                                     hg_editor.authorforsvnauthor(r.author),
                                      date,
                                      {'branch': 'closed-branches'})
         ha = hg_editor.repo.commitctx(current_ctx)