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
Sun Aug 12 16:58:44 CDT 2012


Hi Adrian,

Am Sonntag, 12. August 2012, 08:44:46 schrieb Adrian Buehlmann:
> Thanks for your emails. It looks like you forgot to cc the list though.
> Please send them to the list too.

Argl, yes. Different shortcuts in different programs… I need to do something 
about that… 

Thanks!

Best wishes,
Arne

 
> On 2012-08-11 14:49, Arne Babenhauserheide wrote:
> > 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
--
singing a part of the history of free software: 

- http://infinite-hands.draketo.de

-------------- 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/20120812/7da20c17/attachment.pgp>


More information about the Mercurial-devel mailing list