Find more details under 'help status'. 'st' is a synonym fot status.
src tag [list|-l|delete|del|-d] ['name'] ['revision'] ['file'...]
- Create or delete a tag. With no or only file arguments, list tags.
+ List tags, create tags, or delete tags. Takes a singleton
+ revision, defaulting to the current branch tip.
-src branch [list|-l|delete|del|-d] ['name'] ['revision'] ['file'...]
- Create, switch to, or delete a branch. With no arguments,
- list branches; the active branch is first in the list. The default
- branch is 'trunk'.
+src branch [list|-l|delete|del|-d] ['name'] ['file'...]
+ List, create, or delete branches. the active branch is first in
+ the list. The default branch is 'trunk'.
src rename ['tag'|'branch'] ['oldname'] ['newname'] ['file'...]
Rename a tag or branch. Refuses to step on an existing symbol or
you give none is the tip revision of the current branch.
This command is mainly intended for use in scripts.
+""",
+ "tag" : """
+src tag [list|-l|delete|del|-d] ['name'] ['revision'] ['file'...]
+
+List tags (with -l), create tags, or delete tags (with -d).
+
+Takes at most a singleton revision; the default is the current branch tip.
+
+Tag creation and deletion require a following name argument. Tag
+creation will not step on an existing tag name, and a noneitent branch
+cannot be deleted.
+""",
+ "branch" : """
+src branch [list|-l|delete|del|-d] ['name'] ['file'...]
+
+List branches (with -l), create branches, or delete branches (with -d).
+
+In the list produced by '-', the active branch is first in the list.
+
+Branch creation and deletion require a following name argument. Branch
+creation will not step on an existing branch name, and a noneitent branch
+cannot be deleted.
""",
"log" : """
src log ['revision-range'] ['file'...]
if not quiet and len(args) > 1:
announce("in %s, %s %s removed" % (arg, legend, name))
return
- if args[0] in ("-l", "list"):
+ elif args[0] in ("-l", "list"):
args.pop(0)
ctx = CommandContext(legend + " listing", args, require_empty=True)
width = screenwidth()
synonym for status.
src tag [list|-l|delete|del|-d] ['name'] ['revision'] ['file'...]::
- Create or delete a tag. With no or only file arguments, list tags.
+ List tags, create tags, or delete tags. Takes a singleton
+ revision, defaulting to the current branch tip.
-src branch [list|-l|delete|del|-d] ['name'] ['revision'] ['file'...]::
- Create, switch to, or delete a branch. With no arguments,
- list branches; the active branch is first in the list. The default
- branch is 'trunk'.
+src branch [list|-l|delete|del|-d] ['name'] ['file'...]::
+ List, create, or delete branches. the active branch is first in
+ the list. The default branch is 'trunk'.
src rename ['tag'|'branch'] ['oldname'] ['newname'] ['file'...]::
Rename a tag or branch. Refuses to step on an existing symbol or