356
class cmd_branch_mark(bzrlib.commands.Command):
358
Add, view or list branch markers <EXPERIMENTAL>
360
To add a mark, do 'bzr branch-mark MARK'.
361
To list marks, do 'bzr branch-mark' (this lists all marks for the branch's
363
To delete a mark, do 'bzr branch-mark --delete MARK'
365
These marks can be used to track a branch's status.
367
takes_args = ['mark?', 'branch?']
368
takes_options = [Option('delete', help='Delete this mark')]
369
def run(self, mark=None, branch=None, delete=False):
370
from branch_mark import branch_mark
371
branch_mark(mark, branch, delete)
356
374
commands = [cmd_shelve, cmd_unshelve, cmd_shelf, cmd_clean_tree,
357
375
cmd_graph_ancestry, cmd_fetch_ghosts, cmd_patch, cmd_shell,
358
376
cmd_branch_history, cmd_zap, cmd_cbranch, cmd_branches,
359
cmd_multi_pull, cmd_switch]
377
cmd_multi_pull, cmd_switch, cmd_branch_mark]
362
380
command_decorators = []