Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 8937:ea798e03a32e
commands: add "--" to command line flag in branches docstring
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 24 Jun 2009 18:40:13 +0200 |
parents | 1de6e7e1bb9f |
children | 9b8c9266c59d |
comparison
equal
deleted
inserted
replaced
8936:1de6e7e1bb9f | 8937:ea798e03a32e |
---|---|
438 | 438 |
439 def branches(ui, repo, active=False): | 439 def branches(ui, repo, active=False): |
440 """list repository named branches | 440 """list repository named branches |
441 | 441 |
442 List the repository's named branches, indicating which ones are | 442 List the repository's named branches, indicating which ones are |
443 inactive. If active is specified, only show active branches. | 443 inactive. If -a/--active is specified, only show active branches. |
444 | 444 |
445 A branch is considered active if it contains repository heads. | 445 A branch is considered active if it contains repository heads. |
446 | 446 |
447 Use the command 'hg update' to switch to an existing branch. | 447 Use the command 'hg update' to switch to an existing branch. |
448 """ | 448 """ |