mercurial/localrepo.py
branchstable
changeset 17293 d3f84ccc5495
parent 17252 16fad7323e56
child 17294 d2217df3a7cf
equal deleted inserted replaced
17292:8da6fe276a23 17293:d3f84ccc5495
  2538         return self.pull(remote, heads)
  2538         return self.pull(remote, heads)
  2539 
  2539 
  2540     def pushkey(self, namespace, key, old, new):
  2540     def pushkey(self, namespace, key, old, new):
  2541         self.hook('prepushkey', throw=True, namespace=namespace, key=key,
  2541         self.hook('prepushkey', throw=True, namespace=namespace, key=key,
  2542                   old=old, new=new)
  2542                   old=old, new=new)
       
  2543         self.ui.debug('pushing key for "%s:%s"\n' % (namespace, key))
  2543         ret = pushkey.push(self, namespace, key, old, new)
  2544         ret = pushkey.push(self, namespace, key, old, new)
  2544         self.hook('pushkey', namespace=namespace, key=key, old=old, new=new,
  2545         self.hook('pushkey', namespace=namespace, key=key, old=old, new=new,
  2545                   ret=ret)
  2546                   ret=ret)
  2546         return ret
  2547         return ret
  2547 
  2548 
  2548     def listkeys(self, namespace):
  2549     def listkeys(self, namespace):
  2549         self.hook('prelistkeys', throw=True, namespace=namespace)
  2550         self.hook('prelistkeys', throw=True, namespace=namespace)
       
  2551         self.ui.debug('listing keys for "%s"\n' % namespace)
  2550         values = pushkey.list(self, namespace)
  2552         values = pushkey.list(self, namespace)
  2551         self.hook('listkeys', namespace=namespace, values=values)
  2553         self.hook('listkeys', namespace=namespace, values=values)
  2552         return values
  2554         return values
  2553 
  2555 
  2554     def debugwireargs(self, one, two, three=None, four=None, five=None):
  2556     def debugwireargs(self, one, two, three=None, four=None, five=None):