[Bug 3732] New: Attempting to push nonexistent bookmark skips other bookmarks

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Dec 11 14:09:34 CST 2012


http://bz.selenic.com/show_bug.cgi?id=3732

          Priority: normal
            Bug ID: 3732
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Attempting to push nonexistent bookmark skips other
                    bookmarks
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: kbullock+mercurial at ringworld.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.4.1
         Component: Mercurial
           Product: Mercurial

When attempting to push more than one new bookmark explicitly, if the first one
given doesn't exist in the local repo (e.g. if it's mistyped), the rest fail to
be pushed as well (mercurial/commands.py at 5522a7951bd7 line 4787).

Example: given a repo with bookmarks foo and bar:

 $ hg init ../foobar-clone
 $ hg push -B ofoo -B bar
 pushing to ../foobar-clone
 searching for changes
 adding changesets
 adding manifests
 adding file changes
 added 1 changesets with 1 changes to 1 files
 bookmark ofoo does not exist on the local or remote repository!
 $ hg -R ../foobar-clone bookmarks
 no bookmarks set

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


More information about the Mercurial-devel mailing list