##// END OF EJS Templates
pushkey: flush pending data before running a pre-pushkey hook (issue4607)...
Pierre-Yves David -
r24825:7f9655f3 stable
parent child Browse files
Show More
@@ -1905,6 +1905,8 b' class localrepository(object):'
1905 hookargs = {}
1905 hookargs = {}
1906 if tr is not None:
1906 if tr is not None:
1907 hookargs.update(tr.hookargs)
1907 hookargs.update(tr.hookargs)
1908 pending = lambda: tr.writepending() and self.root or ""
1909 hookargs['pending'] = pending
1908 hookargs['namespace'] = namespace
1910 hookargs['namespace'] = namespace
1909 hookargs['key'] = key
1911 hookargs['key'] = key
1910 hookargs['old'] = old
1912 hookargs['old'] = old
General Comments 0
You need to be logged in to leave comments. Login now