[PATCH 04 of 11 (19 more to go)] push: drop now outdated comment

pierre-yves.david at ens-lyon.org pierre-yves.david at ens-lyon.org
Mon Feb 10 18:01:32 CST 2014


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at logilab.fr>
# Date 1391140281 28800
#      Thu Jan 30 19:51:21 2014 -0800
# Node ID c39c0cf5e4cdbc5c375efa5246ed3b07c1d77652
# Parent  8a7dcb97d9d07f09e9cf7780005ab1ab814b086d
push: drop now outdated comment

This `_pushobsolete` now exist for modularity purpose.

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -257,13 +257,11 @@ def push(repo, remote, force=False, revs
 
     _pushbookmark(pushop)
     return ret
 
 def _pushobsolete(pushop):
-    """utility function to push obsolete markers to a remote
-
-    Exist mostly to allow overriding for experimentation purpose"""
+    """utility function to push obsolete markers to a remote"""
     repo = pushop.repo
     remote = pushop.remote
     if (obsolete._enabled and repo.obsstore and
         'obsolete' in remote.listkeys('namespaces')):
         rslts = []


More information about the Mercurial-devel mailing list