changeset 19709:600ea1a6884c

merge with stable
author Kevin Bullock <kbullock@ringworld.org>
date Sat, 07 Sep 2013 16:08:11 -0500
parents 591cbff13a7f (current diff) fd4f612f7cb6 (diff)
children 887ffa22fd0d
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Sat Sep 07 00:08:36 2013 -0500
+++ b/mercurial/changegroup.py	Sat Sep 07 16:08:11 2013 -0500
@@ -354,11 +354,11 @@
         progress(msgbundling, None)
 
         mfs.clear()
+        needed = set(cl.rev(x) for x in clnodes)
 
         def linknodes(filerevlog, fname):
             if fastpathlinkrev:
                 ln, llr = filerevlog.node, filerevlog.linkrev
-                needed = set(cl.rev(x) for x in clnodes)
                 def genfilenodes():
                     for r in filerevlog:
                         linkrev = llr(r)