[Bug 6221] New: pull --bookmark adds too many bookmarks

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Nov 13 11:47:34 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6221

            Bug ID: 6221
           Summary: pull --bookmark adds too many bookmarks
           Product: Mercurial
           Version: 4.5.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: bookmarks
          Assignee: bugzilla at mercurial-scm.org
          Reporter: peter at lucid.ch
                CC: mercurial-devel at mercurial-scm.org
    Python Version: 2.7

"hg pull --bookmark b" should not add other bookmarks.

hg init Repo1 && hg clone Repo1 Repo2 && cd Repo1
echo a>a
hg add a && hg commit -m "A" && hg bookmark A
echo b>b
hg add b && hg commit -m "B" && hg bookmark B
cd ..\Repo2
hg pull --bookmark B

This causes:
    adding remote bookmark A
    adding remote bookmark B
But bookmark A is unwanted.

hg bookmarks -d A
hg pull --bookmark B

Again it is added back:
    adding remote bookmark A

This even happens for bookmarks on changesets that are marked as obsolete
locally.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list