Mercurial > public > mercurial-scm > hg
diff mercurial/wireproto.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 | 97eff00046de |
children | e7cfe3587ea4 |
line wrap: on
line diff
--- a/mercurial/wireproto.py Mon Jul 30 19:26:05 2012 +0200 +++ b/mercurial/wireproto.py Sat Jul 28 12:28:35 2012 +0200 @@ -236,6 +236,7 @@ if not self.capable('pushkey'): yield False, None f = future() + self.ui.debug('preparing pushkey for "%s:%s"\n' % (namespace, key)) yield todict(namespace=encoding.fromlocal(namespace), key=encoding.fromlocal(key), old=encoding.fromlocal(old), @@ -256,6 +257,7 @@ if not self.capable('pushkey'): yield {}, None f = future() + self.ui.debug('preparing listkeys for "%s"\n' % namespace) yield todict(namespace=encoding.fromlocal(namespace)), f d = f.value r = {}