##// END OF EJS Templates
Fix issue 589: "undelete" sequence leads to crash.
Patrick Mezard -
r4638:3c7fc13c default
parent child Browse files
Show More
@@ -292,11 +292,10 b' class filectx(object):'
292
292
293 # sort by revision (per file) which is a topological order
293 # sort by revision (per file) which is a topological order
294 visit = []
294 visit = []
295 files.reverse()
296 for f in files:
295 for f in files:
297 fn = [(n._filerev, n) for n in needed.keys() if n._path == f]
296 fn = [(n.rev(), n) for n in needed.keys() if n._path == f]
298 fn.sort()
299 visit.extend(fn)
297 visit.extend(fn)
298 visit.sort()
300 hist = {}
299 hist = {}
301
300
302 for r, f in visit:
301 for r, f in visit:
General Comments 0
You need to be logged in to leave comments. Login now