Show More
@@ -1578,9 +1578,8 b' class localrepository(repo.repository):' | |||
|
1578 | 1578 | knownheads = set() |
|
1579 | 1579 | # We assume that all parents of bases are known heads. |
|
1580 | 1580 | for n in bases: |
|
1581 |
|
|
|
1582 | if p != nullid: | |
|
1583 | knownheads.add(p) | |
|
1581 | knownheads.update(cl.parents(n)) | |
|
1582 | knownheads.discard(nullid) | |
|
1584 | 1583 | knownheads = list(knownheads) |
|
1585 | 1584 | if knownheads: |
|
1586 | 1585 | # Now that we know what heads are known, we can compute which |
@@ -1866,8 +1865,7 b' class localrepository(repo.repository):' | |||
|
1866 | 1865 | def changed_file_collector(changedfileset): |
|
1867 | 1866 | def collect_changed_files(clnode): |
|
1868 | 1867 | c = cl.read(clnode) |
|
1869 | for fname in c[3]: | |
|
1870 | changedfileset.add(fname) | |
|
1868 | changedfileset.update(c[3]) | |
|
1871 | 1869 | return collect_changed_files |
|
1872 | 1870 | |
|
1873 | 1871 | def lookuprevlink_func(revlog): |
General Comments 0
You need to be logged in to leave comments.
Login now