Mercurial > evolve
changeset 278:fa0b9b8a83c0
obsolete: add or fix debug commands help
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Tue, 19 Jun 2012 10:24:47 +0200 |
parents | 5d1d7aaf1bc3 |
children | 0d87b1fbf32b |
files | hgext/obsolete.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: