mercurial/exchange.py
changeset 22972 44b16b59b80a
parent 22971 3fe571c74b27
child 23000 90c425f80316
--- a/mercurial/exchange.py	Tue Oct 14 00:06:46 2014 -0700
+++ b/mercurial/exchange.py	Tue Oct 14 01:40:04 2014 -0700
@@ -827,6 +827,8 @@
         """get appropriate pull transaction, creating it if needed"""
         if self._tr is None:
             self._tr = self.repo.transaction(self._trname)
+            self._tr.hookargs['source'] = 'pull'
+            self._tr.hookargs['url'] = self.remote.url()
         return self._tr
 
     def closetransaction(self):