hgext/shelve.py
branchstable
changeset 20937 c0bf8bea10dd
parent 20149 578b888c820e
child 20942 3737e653dcbe
--- a/hgext/shelve.py	Thu Apr 03 20:29:03 2014 -0500
+++ b/hgext/shelve.py	Thu Apr 03 20:32:56 2014 -0500
@@ -150,7 +150,7 @@
     label = repo._bookmarkcurrent or parent.branch() or 'default'
 
     # slashes aren't allowed in filenames, therefore we rename it
-    origlabel, label = label, label.replace('/', '_')
+    label = label.replace('/', '_')
 
     def gennames():
         yield label