Some things I don't Understand
Brodie Rao
dackze at gmail.com
Sun Mar 1 05:27:50 UTC 2009
On Feb 28, 2009, at 11:39 PM, Sean Kelley wrote:
> On Mon, Feb 23, 2009 at 9:18 AM, Peer Sommerlund
> <peer.sommerlund at gmail.com> wrote:
>> With bookmarks you could make what feels like a named branch, e.g.
>> "scratch-feature", but if you later decide to merge the branch into
>> your
>> trunk, you can simply discard the bookmark, and your repository
>> will carry
>> no trace of the name.
>
> In that regard, I would really prefer then that Bookmarks include the
> strip function built-in so when I delete the bookmark I can literally
> blow away the short lived branch.
I think one major problem with this is what happens if you've already
pushed the branch somewhere.
On the other hand, perhaps you could have some kind of experimental
bookmark mechanism that always excludes experimental bookmarks from
being pushed. Once you've explicitly pushed it somewhere, the ability
to strip it would go away.
I'm not sure how feasible that is, though.
More information about the Mercurial
mailing list