[PATCH 1 of 4] pull: work as usual bare "hg update" for URL#BRANCH

Sune Foldager cyano at me.com
Sun Feb 21 13:13:45 UTC 2016


> On 21 Feb 2016, at 05:17, Yuya Nishihara <yuya at tcha.org> wrote:
> 
> Or always affects no matter if wdir is BRANCH or not. It seems confusing for
> me to switch "hg update" and "hg update BRANCH" by dirstate.branch().
> 
> a) "hg pull -bB -u" == "hg pull -bB && hg update B"
> b) "hg pull -bB -u" == "hg pull -bB && hg update”

Did this change recently? Last time I checked hg pull -u doesn’t update if it doesn’t pull at least one changeset. In fact, our (company) Mercurial metatool, repoman, always updates when pulling, even with zero changesets pulled, but we did that because it confused people that it only did it sometimes.

In that case, neither a or b hold currently.

-Sune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160221/e7ba5c85/attachment-0001.html>


More information about the Mercurial-devel mailing list