[issue2723] fetch does not know anything about bookmarks

Daniil Alexeyevsky bugs at mercurial.selenic.com
Wed Mar 23 13:09:56 CDT 2011


New submission from Daniil Alexeyevsky <me.dendik at gmail.com>:

Example scripts with problems:

Case 1 "fetch would create a new (bookmarked) head, but instead tries to merge":

mkdir a; cd a; hg init
echo a > a; hg ci -Am a
hg clone . ../b

hg bookmark b
echo b > a; hg ci -m b
hg push -B b ../b

hg up -r 0
hg bookmark c
echo c > a; hg ci -m c

cd ../b
hg up
hg fetch # this pops up merge tool

Case 2 "fetch refused to work if we have many bookmarked heads"

mkdir a; cd a; hg init
echo a > a; hg ci -Am a
hg clone . ../b

hg bookmark b
echo b > a; hg ci -m b
hg push -B b ../b

hg up -r 0
hg bookmark c
echo c > a; hg ci -m c
hg push -f -B c ../b

echo d > a; hg ci -m d

cd ../b
hg up
hg fetch # this produces: abort: multiple heads in this branch (use "hg
heads ." and "hg merge" to merge)

----------
messages: 15815
nosy: dendik
priority: bug
status: unread
title: fetch does not know anything about bookmarks
topic: bookmarks

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


More information about the Mercurial-devel mailing list