Show More
@@ -1469,7 +1469,7 b' class localrepository(object):' | |||
|
1469 | 1469 | if not source: |
|
1470 | 1470 | return 0 |
|
1471 | 1471 | |
|
1472 | self.hook('prechangegroup', throw=True) | |
|
1472 | self.hook('prechangegroup', throw=True, source=source) | |
|
1473 | 1473 | |
|
1474 | 1474 | changesets = files = revisions = 0 |
|
1475 | 1475 | |
@@ -1534,15 +1534,17 b' class localrepository(object):' | |||
|
1534 | 1534 | % (changesets, revisions, files, heads)) |
|
1535 | 1535 | |
|
1536 | 1536 | self.hook('pretxnchangegroup', throw=True, |
|
1537 | node=hex(self.changelog.node(cor+1))) | |
|
1537 | node=hex(self.changelog.node(cor+1)), source=source) | |
|
1538 | 1538 | |
|
1539 | 1539 | tr.close() |
|
1540 | 1540 | |
|
1541 | 1541 | if changesets > 0: |
|
1542 |
self.hook("changegroup", node=hex(self.changelog.node(cor+1)) |
|
|
1542 | self.hook("changegroup", node=hex(self.changelog.node(cor+1)), | |
|
1543 | source=source) | |
|
1543 | 1544 | |
|
1544 | 1545 | for i in range(cor + 1, cnr + 1): |
|
1545 |
self.hook("incoming", node=hex(self.changelog.node(i)) |
|
|
1546 | self.hook("incoming", node=hex(self.changelog.node(i)), | |
|
1547 | source=source) | |
|
1546 | 1548 | |
|
1547 | 1549 | return newheads - oldheads + 1 |
|
1548 | 1550 |
General Comments 0
You need to be logged in to leave comments.
Login now