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
Sat Aug 11 12:49:21 UTC 2012


Am Mittwoch, 8. August 2012, 20:46:53 schrieben Sie:
> How about:
> 
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -912,8 +912,8 @@
>                                       hint=_("use 'hg update' to switch to
> it")) repo.dirstate.setbranch(label)
>              ui.status(_('marked working directory as branch %s\n') % label)
> -            ui.status(_('(branches are permanent and global, '
> -                        'did you want a bookmark?)\n'))
> +            ui.status(_('(the branch name will be permanently recorded '
> +                        'on commit)\n'))
>      finally:
>          wlock.release()
> 
> Which looks like this:
> 
>   $ hg branch foo
>   marked working directory as branch foo
>   (the branch name will be permanently recorded on commit)

I like it.

The nagging also disturbs me more every month, and your change looks good to 
me.

It’s nice to cater to new users, but even more important is keeping the usage 
of current users flow seamlessly.

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/20120811/a73d9554/attachment.pgp>


More information about the Mercurial-devel mailing list