##// END OF EJS Templates
fix a traceback when unbundling does not add any changesets...
Benoit Boissinot -
r2259:181b0643 default
parent child Browse files
Show More
@@ -1544,8 +1544,9 b' class localrepository(object):'
1544 " with %d changes to %d files%s\n")
1544 " with %d changes to %d files%s\n")
1545 % (changesets, revisions, files, heads))
1545 % (changesets, revisions, files, heads))
1546
1546
1547 self.hook('pretxnchangegroup', throw=True,
1547 if changesets > 0:
1548 node=hex(self.changelog.node(cor+1)), source=srctype)
1548 self.hook('pretxnchangegroup', throw=True,
1549 node=hex(self.changelog.node(cor+1)), source=srctype)
1549
1550
1550 tr.close()
1551 tr.close()
1551
1552
General Comments 0
You need to be logged in to leave comments. Login now