[issue666] "hg pull" thinks heads are added even when it's actually removed

Kohsuke Kawaguchi mercurial-bugs at selenic.com
Thu Aug 2 23:20:43 CDT 2007


New submission from Kohsuke Kawaguchi <kk at kohsuke.org>:

See the following output. It seems like hg pull doesn't update
the workspace when # of heads changed, even if the # of heads
is reduced to 1. I believe the expected behavior is if the # of
heads is 1, it should update.

$ hg pull -u
pulling from C:\Program Files\cygwin\tmp\hg\master
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files (-1 heads)
not updating, since new heads added
(run 'hg update' to get a working copy)
$ hg heads
changeset:   10:db5c2b78203e
tag:         tip
parent:      9:7cd0d6721f86
parent:      7:78f33bb76fd1
user:        kohsuke at griffon.localdomain
date:        Thu Aug 02 21:10:58 2007 -0700
summary:     merged

----------
messages: 3676
nosy: kohsuke
priority: bug
status: unread
title: "hg pull" thinks heads are added even when it's actually removed

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



More information about the Mercurial-devel mailing list