debugobsolete: improve command help stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sat, 09 Feb 2013 23:28:42 +0000
branchstable
changeset 18657 d4a79e075303
parent 18617 227479f61db9
child 18658 5e63a85299ba
child 18679 f6f35d646cb5
child 18753 3f59cb1ccc73
debugobsolete: improve command help The behavior without argument was not documented.
mercurial/commands.py
--- a/mercurial/commands.py	Sat Feb 09 17:54:01 2013 +0000
+++ b/mercurial/commands.py	Sat Feb 09 23:28:42 2013 +0000
@@ -2106,7 +2106,9 @@
         ] + 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):
         try:
             # We do not use revsingle/revrange functions here to accept