--- a/hgext/shelve.py Fri Mar 28 12:51:05 2014 -0500
+++ b/hgext/shelve.py Fri Apr 04 14:01:25 2014 -0500
@@ -149,7 +149,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
--- a/mercurial/changegroup.py Fri Mar 28 12:51:05 2014 -0500
+++ b/mercurial/changegroup.py Fri Apr 04 14:01:25 2014 -0500
@@ -360,7 +360,7 @@
def linknodes(filerevlog, fname):
if fastpathlinkrev:
- ln, llr = filerevlog.node, filerevlog.linkrev
+ llr = filerevlog.linkrev
def genfilenodes():
for r in filerevlog:
linkrev = llr(r)
--- a/tests/test-pathencode.py Fri Mar 28 12:51:05 2014 -0500
+++ b/tests/test-pathencode.py Fri Apr 04 14:01:25 2014 -0500
@@ -143,7 +143,6 @@
mink, maxk = 1, 4096
def steps():
- x, k = 0, mink
for i in xrange(count):
yield mink + int(round(math.sqrt((maxk - mink) * float(i) / count)))
for k in steps():