Add docstring to move head command.
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 01 Jul 2011 17:03:49 +0200
changeset 25 b372166d460d
parent 24 20ac7fa3fd29
child 26 c9da15600775
Add docstring to move head command.
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