Mercurial > evolve
changeset 25:b372166d460d
Add docstring to move head command.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Fri, 01 Jul 2011 17:03:49 +0200 |
parents | 20ac7fa3fd29 |
children | c9da15600775 |
files | states.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/states.py Fri Jul 01 16:58:40 2011 +0200 +++ b/states.py Fri Jul 01 17:03:49 2011 +0200 @@ -123,6 +123,7 @@ def makecmd(state): def cmdmoveheads(ui, repo, *changesets): + """set a revision in %s state""" % state revs = scmutil.revrange(repo, changesets) repo.setstate(state, [repo.changelog.node(rev) for rev in revs]) return 0