changeset 1030:6fa55b6fa3f2

svnmeta: drop unnecessary single special case in extra parsing
author David Schleimer <dschleimer@fb.com>
date Wed, 05 Jun 2013 12:27:51 -0700
parents 513f2b607b06
children 4e4c47351102
files hgsubversion/svnmeta.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -403,8 +403,6 @@ class SVNMeta(object):
             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