[PATCH V2] bookmarks: add 'hg pull -B .' for pulling the active bookmark (issue5258)

Piotr Listkiewicz piotr.listkiewicz at gmail.com
Tue Jun 21 11:15:39 EDT 2016


>
> IMHO, if we don't have clear boundary between '.' and <real-bookmark>, we
> would face a bunch of bugs related to the '.' bookmark.


Totally agree but i have no idea how to make a clear boundary between them.
Expanding name in all functions in bookmark module would definetely be
error prone.


2016-06-21 16:04 GMT+02:00 Yuya Nishihara <yuya at tcha.org>:

> On Tue, 21 Jun 2016 14:48:09 +0200, Piotr Listkiewicz wrote:
> > > I feel like saying it sounds nice, but actually I don't get it. The
> > > bookmark
> > > class isn't involved to process the explicitbookmarks in
> > > updatefromremote().
> >
> > I think it could be done by supporting '.' in all functions in bookmark
> > module - including updatefromremote function which was used here and
> > bmstore not used in this case.
>
> IMHO, if we don't have clear boundary between '.' and <real-bookmark>, we
> would face a bunch of bugs related to the '.' bookmark.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160621/62780913/attachment.html>


More information about the Mercurial-devel mailing list