Show More
@@ -912,7 +912,7 b' class localrepository(repo.repository):' | |||
|
912 | 912 | acquirefn() |
|
913 | 913 | return l |
|
914 | 914 | |
|
915 |
def _ |
|
|
915 | def _afterlock(self, callback): | |
|
916 | 916 | """add a callback to the current repository lock. |
|
917 | 917 | |
|
918 | 918 | The callback will be executed on lock release.""" |
@@ -2011,7 +2011,7 b' class localrepository(repo.repository):' | |||
|
2011 | 2011 | for n in added: |
|
2012 | 2012 | self.hook("incoming", node=hex(n), source=srctype, |
|
2013 | 2013 | url=url) |
|
2014 |
self._ |
|
|
2014 | self._afterlock(runhooks) | |
|
2015 | 2015 | |
|
2016 | 2016 | finally: |
|
2017 | 2017 | tr.release() |
General Comments 0
You need to be logged in to leave comments.
Login now