##// END OF EJS Templates
Add changegroup hook for push/pull
mpm@selenic.com -
r780:5cb8a3a0 default
parent child Browse files
Show More
@@ -1294,6 +1294,10 b' class localrepository:'
1294 % (changesets, revisions, files))
1294 % (changesets, revisions, files))
1295
1295
1296 tr.close()
1296 tr.close()
1297
1298 if not self.hook("changegroup"):
1299 return 1
1300
1297 return
1301 return
1298
1302
1299 def update(self, node, allow=False, force=False, choose=None,
1303 def update(self, node, allow=False, force=False, choose=None,
General Comments 0
You need to be logged in to leave comments. Login now