Why you don't want to allow disabling "branches are global and permanent, did you want a bookmark"?

Arne Babenhauserheide arne_bab at web.de
Tue Aug 14 09:08:48 CDT 2012


Am Montag, 13. August 2012, 11:51:57 schrieb Adrian Buehlmann:
> Expecting that Mercurial will just work exactly the same a git is just
> arrogant.
> 
> > Git is hard to use. Most accept that, when someone tells them.
> > Hg is different. It just works for most people.
> 
> Sure. But requiring that it works like git is wrong.

That’s why I only want it to inform people when they do something they cannot 
revert easily later on.

> >> [FWIW, you seem to contradict with yourself (judging from your other
> >> emails).]
> > Not really. I want a different warning, but I like it that we have one.
> 
> But you acknowledge that warning users that they might have taken the
> wrong command is just arrogant as well, right?

It feels arrogant against *me*, so yes :)

> Just as a reminder: My proposal was to write:
> 
>   $ hg branch foo
>   marked working directory as branch foo
>   (the branch name will be permanently recorded on commit)
> 
> If I understood you correctly, you liked that. Now you seem to argue
> differently.

No, that’s exactly what I am arguing *for*. 

I think we currently have 3 groups here:

(1) No info at all
(2) Info that branches are permanent
(3) Warn that bookmarks might be more appropriate

I want (2), but when I argument with people who want (1), that could be 
interpreted as support for (3) - which it is not.

But my preferences are:

(2) > (3) > (1)

Rather a warning than no info, but rather an info than a warning.

> and don't know about 'hg branch -C'

I did not know that, nice! :)

Best wishes,
Arne
-- 
1w6 sie zu achten,
sie alle zu finden,
in Spiele zu leiten
und sacht zu verbinden.
→ http://1w6.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120814/e014615d/attachment.pgp>


More information about the Mercurial-devel mailing list