[Bug 4980] New: Remote deleted bookmarks are not pulled and deleted locally
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Dec 2 15:37:46 UTC 2015
https://bz.mercurial-scm.org/show_bug.cgi?id=4980
Bug ID: 4980
Summary: Remote deleted bookmarks are not pulled and deleted
locally
Product: Mercurial
Version: 3.6.1
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: bookmarks
Assignee: bugzilla at selenic.com
Reporter: telliott at apptio.com
CC: mercurial-devel at selenic.com
I would anticipate that any local bookmark would be deleted locally (on pull)
when that bookmark is deleted from the remote repository.
Reproduction steps:
hg init foo
hg clone foo work
cd work
echo "File1" > file1.txt;hg add file1.txt;hg bookmark feature1;hg commit -m
"file1";hg push -B feature1
cd ../foo
hg bookmark -d feature1
cd ../work
hg pull
hg bookmarks
Actual output:
* feature1 0:b42ae7e44e9a
Expected output:
no bookmarks set
Additionally if I attempt to pull that exact bookmark:
> hg pull -B feature1
pulling from [wherever]
abort: remote bookmark feature1 not found!
Workaround:
Delete all non-active bookmarks, then pull again?
Untenable, especially if I have other bookmarks that I haven't pushed up
yet.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list