Mercurial > hg-stable
diff mercurial/localrepo.py @ 17293:d3f84ccc5495 stable
pushkey: add more verbose debug output regarding pushkey
Very few data are displayed now, making it hard to debug phases and obsolete
related issues.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Sat, 28 Jul 2012 12:28:35 +0200 |
parents | 16fad7323e56 |
children | d2217df3a7cf |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Jul 30 19:26:05 2012 +0200 +++ b/mercurial/localrepo.py Sat Jul 28 12:28:35 2012 +0200 @@ -2540,6 +2540,7 @@ def pushkey(self, namespace, key, old, new): self.hook('prepushkey', throw=True, namespace=namespace, key=key, old=old, new=new) + self.ui.debug('pushing key for "%s:%s"\n' % (namespace, key)) ret = pushkey.push(self, namespace, key, old, new) self.hook('pushkey', namespace=namespace, key=key, old=old, new=new, ret=ret) @@ -2547,6 +2548,7 @@ def listkeys(self, namespace): self.hook('prelistkeys', throw=True, namespace=namespace) + self.ui.debug('listing keys for "%s"\n' % namespace) values = pushkey.list(self, namespace) self.hook('listkeys', namespace=namespace, values=values) return values