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

login
register
mail settings
Submitter Pierre-Yves David
Date Feb. 11, 2014, 12:01 a.m.
Message ID <c39c0cf5e4cdbc5c375e.1392076892@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/3550/
State Accepted
Commit e009e59e456632b0ecf5ae15129554d8fd9b851f
Headers show

Comments

Pierre-Yves David - Feb. 11, 2014, 12:01 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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.

Patch

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 = []