comparison utility_commands.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 9f0738587f94
children 75f082b5897e
comparison
equal deleted inserted replaced
306:e6853c7fa3af 307:1d48d9a34c19
73 branchpath = '/branches/%s' % br 73 branchpath = '/branches/%s' % br
74 url = hge.url 74 url = hge.url
75 if url[-1] == '/': 75 if url[-1] == '/':
76 url = url[:-1] 76 url = url[:-1]
77 url = '%s%s' % (url, branchpath) 77 url = '%s%s' % (url, branchpath)
78 author = hge.svnauthorforauthor(parent.user()) 78 author = hge.authors.reverselookup(parent.user())
79 # cleverly figure out repo root w/o actually contacting the server 79 # cleverly figure out repo root w/o actually contacting the server
80 reporoot = url[:len(url)-len(subdir)] 80 reporoot = url[:len(url)-len(subdir)]
81 ui.status('''URL: %(url)s 81 ui.status('''URL: %(url)s
82 Repository Root: %(reporoot)s 82 Repository Root: %(reporoot)s
83 Repository UUID: %(uuid)s 83 Repository UUID: %(uuid)s