# HG changeset patch # User Pierre-Yves David # Date 1309532629 -7200 # Node ID b372166d460dfe3e82e9280b3b7fc62171b12ec8 # Parent 20ac7fa3fd297939848ae591325b75932a9b234a Add docstring to move head command. diff -r 20ac7fa3fd29 -r b372166d460d states.py --- 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