hg branches --confuse: close, and list to be more intuitive
Thomas Burdick
thomas.burdick at gmail.com
Mon Jun 29 11:20:43 CDT 2009
Renaming branches created with hg branch probably wouldn't be possible/easy.
If you want that ability use bookmarks instead.
-Tom
On Mon, Jun 29, 2009 at 5:25 AM, rupert.thurner <rupert.thurner at gmail.com>wrote:
> hi,
>
> could the branch user interface be slightly changed please?
>
> 1. open and close a branch with the same command
> hg branch
> hg branch --close
>
> 2. help text for "hg branch" contains a hint
> that close is done via commit --close-branch as well
>
> 3. default: list only open branches
> at least for our use case, we would like to distinguish
> between open and closed branches. i.e. hg branches
> should give a list off usable branches (open ones). to
> allow to list closed branches as well, an additional option
> would be necessary, e.g. hg branches --all.
>
> 4. provide a "hg branch --rename"
>
> 5. provide a "hg branch --delete"
>
> what do you think?
>
> the reason why i dare asking: our users, including me were looking now
> for a couple of days how to "delete a branch" (not having the idea it
> is called "close"). so we checked hg branch, hg branches, hg remove,
> hg addremove. nobody had the idea it is hidden in "hg commit".
>
> git has one command for this: git branch, with the options -d
> (delete), and -m (move / rename). mercurial distributes this into hg
> branch, hg branches, hg commit.
>
> rupert
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090629/c2332038/attachment.htm
More information about the Mercurial
mailing list