Mercurial > hg-stable
diff mercurial/localrepo.py @ 17294:d2217df3a7cf stable
obsolete: add debug output regarding obsolete marker exchange.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Thu, 26 Jul 2012 16:41:42 +0200 |
parents | d3f84ccc5495 |
children | 1f08ecc7febb |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Jul 28 12:28:35 2012 +0200 +++ b/mercurial/localrepo.py Thu Jul 26 16:41:42 2012 +0200 @@ -1783,6 +1783,7 @@ # should be seen as public phases.advanceboundary(self, phases.public, subset) + self.ui.debug('fetching remote obsolete markers') remoteobs = remote.listkeys('obsolete') if 'dump' in remoteobs: if tr is None: @@ -1951,6 +1952,7 @@ if not r: self.ui.warn(_('updating %s to public failed!\n') % newremotehead) + self.ui.debug('try to push obsolete markers to remote\n') if (self.obsstore and 'obsolete' in remote.listkeys('namespaces')): data = self.listkeys('obsolete')['dump']