obsolete: add or fix debug commands help
authorPatrick Mezard <patrick@mezard.eu>
Tue, 19 Jun 2012 10:24:47 +0200
changeset 278 fa0b9b8a83c0
parent 277 5d1d7aaf1bc3
child 279 0d87b1fbf32b
obsolete: add or fix debug commands help
hgext/obsolete.py
--- a/hgext/obsolete.py	Tue Jun 19 10:20:09 2012 +0200
+++ b/hgext/obsolete.py	Tue Jun 19 10:24:47 2012 +0200
@@ -395,9 +395,10 @@
 
 @command('debugobsolete', [], _('SUBJECT OBJECT'))
 def cmddebugobsolete(ui, repo, subject, object):
-    """Add an obsolete relation between a too node
+    """add an obsolete relation between two nodes
 
-    The subject is expected to be a newer version of the object"""
+    The subject is expected to be a newer version of the object.
+    """
     lock = repo.lock()
     try:
         sub = repo[subject]
@@ -409,6 +410,7 @@
 
 @command('debugconvertobsolete', [], '')
 def cmddebugconvertobsolete(ui, repo):
+    """import markers from an .hg/obsolete-relations file"""
     cnt = 0
     l = repo.lock()
     try: