[PATCH STABLE] debugobsolete: improve command help

pierre-yves.david at logilab.fr pierre-yves.david at logilab.fr
Mon Feb 11 09:30:11 CST 2013

# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1360452522 0
# Node ID 9c370f873d3570aecedd6cc9ad480cdc19894623
# Parent  6204e4d4dd6d10834540357dbf1deac6636077c8
debugobsolete: improve command help

The behavior without argument was not documented.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2104,11 +2104,13 @@ def debugknown(ui, repopath, *ids, **opt
         [('', 'flags', 0, _('markers flag')),
         ] + commitopts2,
          _('[OBSOLETED [REPLACEMENT] [REPL... ]'))
 def debugobsolete(ui, repo, precursor=None, *successors, **opts):
-    """create arbitrary obsolete marker"""
+    """create arbitrary obsolete marker
+    With no arguments it it display the list obsolescence marker."""
     def parsenodeid(s):
             # We do not use revsingle/revrange functions here to accept
             # arbitrary node identifiers, possibly not present in the
             # local repository.

More information about the Mercurial-devel mailing list