Show More
@@ -698,14 +698,12 b' class cg1packer(object):' | |||||
698 | def linknodes(unused, fname): |
|
698 | def linknodes(unused, fname): | |
699 | return fnodes.get(fname, {}) |
|
699 | return fnodes.get(fname, {}) | |
700 | else: |
|
700 | else: | |
|
701 | cln = cl.node | |||
701 | def linknodes(filerevlog, fname): |
|
702 | def linknodes(filerevlog, fname): | |
702 | llr = filerevlog.linkrev |
|
703 | llr = filerevlog.linkrev | |
703 |
|
|
704 | fln = filerevlog.node | |
704 |
for r in filerevlog |
|
705 | revs = ((r, llr(r)) for r in filerevlog) | |
705 | linkrev = llr(r) |
|
706 | return dict((fln(r), cln(lr)) for r, lr in revs if lr in clrevs) | |
706 | if linkrev in clrevs: |
|
|||
707 | yield filerevlog.node(r), cl.node(linkrev) |
|
|||
708 | return dict(genfilenodes()) |
|
|||
709 |
|
707 | |||
710 | changedfiles = set() |
|
708 | changedfiles = set() | |
711 | for x in mfchangedfiles.itervalues(): |
|
709 | for x in mfchangedfiles.itervalues(): |
General Comments 0
You need to be logged in to leave comments.
Login now