##// 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 293 # sort by revision (per file) which is a topological order
294 294 visit = []
295 files.reverse()
296 295 for f in files:
297 fn = [(n._filerev, n) for n in needed.keys() if n._path == f]
298 fn.sort()
296 fn = [(n.rev(), n) for n in needed.keys() if n._path == f]
299 297 visit.extend(fn)
298 visit.sort()
300 299 hist = {}
301 300
302 301 for r, f in visit:
General Comments 0
You need to be logged in to leave comments. Login now