Show More
@@ -1754,7 +1754,6 b' class localrepository(repo.repository):' | |||
|
1754 | 1754 | # A function generating function that sets up the initial environment |
|
1755 | 1755 | # the inner function. |
|
1756 | 1756 | def filenode_collector(changedfiles): |
|
1757 | next_rev = [0] | |
|
1758 | 1757 | # This gathers information from each manifestnode included in the |
|
1759 | 1758 | # changegroup about which filenodes the manifest node references |
|
1760 | 1759 | # so we can include those in the changegroup too. |
@@ -1764,8 +1763,8 b' class localrepository(repo.repository):' | |||
|
1764 | 1763 | # the first manifest that references it belongs to. |
|
1765 | 1764 | def collect_msng_filenodes(mnfstnode): |
|
1766 | 1765 | r = mnfst.rev(mnfstnode) |
|
1767 |
if r |
|
|
1768 | # If the last rev we looked at was the one just previous, | |
|
1766 | if r - 1 in mnfst.parentrevs(r): | |
|
1767 | # If the previous rev is one of the parents, | |
|
1769 | 1768 | # we only need to see a diff. |
|
1770 | 1769 | deltamf = mnfst.readdelta(mnfstnode) |
|
1771 | 1770 | # For each line in the delta |
@@ -1794,8 +1793,6 b' class localrepository(repo.repository):' | |||
|
1794 | 1793 | clnode = msng_mnfst_set[mnfstnode] |
|
1795 | 1794 | ndset = msng_filenode_set.setdefault(f, {}) |
|
1796 | 1795 | ndset.setdefault(fnode, clnode) |
|
1797 | # Remember the revision we hope to see next. | |
|
1798 | next_rev[0] = r + 1 | |
|
1799 | 1796 | return collect_msng_filenodes |
|
1800 | 1797 | |
|
1801 | 1798 | # We have a list of filenodes we think we need for a file, lets remove |
General Comments 0
You need to be logged in to leave comments.
Login now