equal
deleted
inserted
replaced
1783 if exc.hint: |
1783 if exc.hint: |
1784 self.ui.write_err(_("(%s)\n") % exc.hint) |
1784 self.ui.write_err(_("(%s)\n") % exc.hint) |
1785 return False |
1785 return False |
1786 self.ui.debug('pushing key for "%s:%s"\n' % (namespace, key)) |
1786 self.ui.debug('pushing key for "%s:%s"\n' % (namespace, key)) |
1787 ret = pushkey.push(self, namespace, key, old, new) |
1787 ret = pushkey.push(self, namespace, key, old, new) |
1788 self.hook('pushkey', namespace=namespace, key=key, old=old, new=new, |
1788 def runhook(): |
1789 ret=ret) |
1789 self.hook('pushkey', namespace=namespace, key=key, old=old, new=new, |
|
1790 ret=ret) |
|
1791 self._afterlock(runhook) |
1790 return ret |
1792 return ret |
1791 |
1793 |
1792 def listkeys(self, namespace): |
1794 def listkeys(self, namespace): |
1793 self.hook('prelistkeys', throw=True, namespace=namespace) |
1795 self.hook('prelistkeys', throw=True, namespace=namespace) |
1794 self.ui.debug('listing keys for "%s"\n' % namespace) |
1796 self.ui.debug('listing keys for "%s"\n' % namespace) |