[PATCH 1 of 4] pull: work as usual bare "hg update" for URL#BRANCH
Yuya Nishihara
yuya at tcha.org
Sun Feb 21 10:31:24 EST 2016
On Sun, 21 Feb 2016 14:13:45 +0100, Sune Foldager wrote:
> > 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.
Ah, no. I thought "hg pull" would return 1 if nothing pulled, but I'm wrong.
More information about the Mercurial-devel
mailing list