[issue1465] Fauty behavior of pull -r revnum -u

Alpar Juttner mercurial-bugs at selenic.com
Tue Jan 13 04:20:58 CST 2009


New submission from Alpar Juttner <alpar at cs.elte.hu>:

The pull -u tries to update to a wrong revision when -r revnum is used.

$ hg pull -r 718 -u ../salata/ 
pulling from ../salata/
searching for changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 7 changes to 6 files (+1 heads)
abort: unknown revision '718'!

My feeling is that here the pull command first tries to pull revision
718 of the external repository of the external repository (which is OK),
but then it tries to update to the _local_ revision 718 which does not
exist. (The 'salata' repo contains much more changesets than the current
repo.)

This bug appears with version 1.1.2.

Benoit Boissinot's comment:
(we need to either fix hg.parseurl(), or do a lookup when it's needed)

----------
messages: 8383
nosy: alpar
priority: bug
status: unread
title: Fauty behavior of pull -r revnum -u

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



More information about the Mercurial-devel mailing list