site

(Pierre-Yves David)
2011-07-01: Add docstring to move head command.

Add docstring to move head command.

diff --git a/states.py b/states.py
--- a/states.py
+++ b/states.py
@@ -123,6 +123,7 @@ cmdtable = {}
 
 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