Mercurial > hgsubversion
diff utility_commands.py @ 226:bb2b78f9f4ce
Use a reverse lookup in authormap to determine the author for 'hg svn info'.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 27 Mar 2009 02:59:42 +0100 |
parents | a421aca2b0f5 |
children | f71af18c4379 |
line wrap: on
line diff
--- a/utility_commands.py +++ b/utility_commands.py @@ -85,7 +85,7 @@ def run_svn_info(ui, repo, hg_repo_path, if url[-1] == '/': url = url[:-1] url = '%s%s' % (url, branchpath) - author = '@'.join(parent.user().split('@')[:-1]) + author = hge.svnauthorforauthor(parent.user()) # cleverly figure out repo root w/o actually contacting the server reporoot = url[:len(url)-len(subdir)] ui.status('''URL: %(url)s