branch warnings (was Re: Hg update should prefer heads without bookmarks)
Bryan Murdock
bmurdock at gmail.com
Wed Jun 24 16:57:51 UTC 2015
On Wed, Jun 24, 2015 at 9:51 AM, cowwoc <cowwoc at bbs.darktech.org> wrote:
> The problem is that by the time you'd get the warning (at push time) you
> might have already constructed multiple commits and moving them to a
> bookmark would be a pain in the behind.
It's one command:
hg rebase -b <branch-name> -d <bookmark-name>
But honestly, does that *ever* happen? If you are collaborating with
a group the group has probably already decided whether to use branches
or bookmarks (or some combination of both with guidelines on when to
use which). Nobody in the group should be saying to themselves,
"Should I use a branch? I don't know, I guess I'll just try it...oh,
look at that warning, I guess I should have used a bookmark instead!"
I just don't understand the use case that the warning is trying to address.
Bryan
More information about the Mercurial
mailing list