[issue1169] "hg fetch" produces incorrect error message when not on tip

Antoine Pitrou mercurial-bugs at selenic.com
Sun Jun 8 04:50:54 CDT 2008


New submission from Antoine Pitrou <pitrou at free.fr>:

"hg fetch" produces the following error message when trying to invoke it on a
non-tip revision:

abort: working dir not at tip (use "hg update" to check out tip)

This message is wrong in the case of named branches. To properly update to tip,
we need "hg update tip" rather than simply "hg update", which will simply update
to the topmost revision in the current branch.

----------
messages: 6223
nosy: pitrou
priority: bug
status: unread
title: "hg fetch" produces incorrect error message when not on tip
topic: named branches, ui

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



More information about the Mercurial-devel mailing list