diff stupid.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 ce676eff002b
children b6c6d32c8ef1
line wrap: on
line diff
--- a/stupid.py
+++ b/stupid.py
@@ -523,7 +523,7 @@ def svn_server_pull_rev(ui, svn, hg_edit
                                          r.message or util.default_commit_msg,
                                          files_touched,
                                          filectxfn,
-                                         hg_editor.authorforsvnauthor(r.author),
+                                         hg_editor.authors[r.author],
                                          date,
                                          extra)
             ha = hg_editor.repo.commitctx(current_ctx)
@@ -563,7 +563,7 @@ def svn_server_pull_rev(ui, svn, hg_edit
                                      r.message or util.default_commit_msg,
                                      files_touched,
                                      filectxfn,
-                                     hg_editor.authorforsvnauthor(r.author),
+                                     hg_editor.authors[r.author],
                                      date,
                                      {'branch': 'closed-branches'})
         ha = hg_editor.repo.commitctx(current_ctx)