hgext/convert/hg.py
changeset 41365 876494fd967d
parent 41179 77088fa862df
child 41771 1312afae2d51
--- a/hgext/convert/hg.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/hgext/convert/hg.py	Thu Jan 17 09:17:12 2019 -0800
@@ -105,10 +105,6 @@
         if not branch:
             branch = 'default'
         pbranches = [(b[0], b[1] and b[1] or 'default') for b in pbranches]
-        if pbranches:
-            pbranch = pbranches[0][1]
-        else:
-            pbranch = 'default'
 
         branchpath = os.path.join(self.path, branch)
         if setbranch: