[issue3027] Pull --update --branch doesn't check for crossing branch

John Peberdy bugs at mercurial.selenic.com
Wed Sep 28 17:45:33 CDT 2011


New submission from John Peberdy <john at peberdy.ca>:

If you are on an outgoing changeset and you do 'hg pull --update' it will
not change the current revision and will print "not updating: crosses
branches (merge branches or update --check to force update)". However with
--branch and --update it updates to the latest of that branch. 

Expected: These lines should result in same changesets being the current if
outgoing is on default
$ hg pull --branch default; hg update
$ hg pull --branch default --update

Tested with hg 1.9.2. I think this is a regression but I haven't tested.

----------
messages: 17534
nosy: johnpeb
priority: bug
status: unread
title: Pull --update --branch doesn't check for crossing branch

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3027>
____________________________________________________


More information about the Mercurial-devel mailing list