Commits

David Schleimer committed 6fa55b6

svnmeta: drop unnecessary single special case in extra parsing

Comments (0)

Files changed (1)

hgsubversion/svnmeta.py

             raise KeyError('%s has no conversion record' % ctx)
         branchpath, revnum = extra['convert_revision'][40:].rsplit('@', 1)
         branch = self.localname(self.normalize(branchpath))
-        if self.layout == 'single':
-            branchpath = ''
         if branchpath and branchpath[0] == '/':
             branchpath = branchpath[1:]
         return int(revnum), branch, branchpath