Mercurial > hg-stable
changeset 23620:3d4aa20b775d
branches: deprecate -a
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 22 Dec 2014 14:49:05 -0600 |
parents | 11a160547d7f |
children | bb679344c88d |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Dec 18 09:37:14 2014 -0800 +++ b/mercurial/commands.py Mon Dec 22 14:49:05 2014 -0600 @@ -1040,7 +1040,7 @@ branch. Unless -f/--force is specified, branch will not let you set a - branch name that already exists, even if it's inactive. + branch name that already exists. Use -C/--clean to reset the working directory branch to that of the parent of the working directory, negating a previous branch @@ -1080,7 +1080,8 @@ wlock.release() @command('branches', - [('a', 'active', False, _('show only branches that have unmerged heads')), + [('a', 'active', False, + _('show only branches that have unmerged heads (DEPRECATED)')), ('c', 'closed', False, _('show normal and closed branches')), ] + formatteropts, _('[-ac]')) @@ -1091,9 +1092,6 @@ inactive. If -c/--closed is specified, also list branches which have been marked closed (see :hg:`commit --close-branch`). - If -a/--active is specified, only show active branches. A branch - is considered active if it contains repository heads. - Use the command :hg:`update` to switch to an existing branch. Returns 0.