Show More
@@ -2051,7 +2051,7 b' class localrepository(repo.repository):' | |||
|
2051 | 2051 | revisions += len(fl) - o |
|
2052 | 2052 | files += 1 |
|
2053 | 2053 | |
|
2054 |
newheads = len( |
|
|
2054 | newheads = len(cl.heads()) | |
|
2055 | 2055 | heads = "" |
|
2056 | 2056 | if oldheads and newheads != oldheads: |
|
2057 | 2057 | heads = _(" (%+d heads)") % (newheads - oldheads) |
@@ -2061,9 +2061,9 b' class localrepository(repo.repository):' | |||
|
2061 | 2061 | % (changesets, revisions, files, heads)) |
|
2062 | 2062 | |
|
2063 | 2063 | if changesets > 0: |
|
2064 |
p = lambda: |
|
|
2064 | p = lambda: cl.writepending() and self.root or "" | |
|
2065 | 2065 | self.hook('pretxnchangegroup', throw=True, |
|
2066 |
node=hex( |
|
|
2066 | node=hex(cl.node(cor+1)), source=srctype, | |
|
2067 | 2067 | url=url, pending=p) |
|
2068 | 2068 | |
|
2069 | 2069 | # make changelog see real files again |
@@ -2077,11 +2077,11 b' class localrepository(repo.repository):' | |||
|
2077 | 2077 | # forcefully update the on-disk branch cache |
|
2078 | 2078 | self.ui.debug(_("updating the branch cache\n")) |
|
2079 | 2079 | self.branchtags() |
|
2080 |
self.hook("changegroup", node=hex( |
|
|
2080 | self.hook("changegroup", node=hex(cl.node(cor+1)), | |
|
2081 | 2081 | source=srctype, url=url) |
|
2082 | 2082 | |
|
2083 | 2083 | for i in xrange(cor + 1, cnr + 1): |
|
2084 |
self.hook("incoming", node=hex( |
|
|
2084 | self.hook("incoming", node=hex(cl.node(i)), | |
|
2085 | 2085 | source=srctype, url=url) |
|
2086 | 2086 | |
|
2087 | 2087 | # never return 0 here: |
General Comments 0
You need to be logged in to leave comments.
Login now