[Bug 5236] New: "hg push -B ." complains about pushing new remote heads

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun May 15 16:32:47 UTC 2016


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

            Bug ID: 5236
           Summary: "hg push -B ." complains about pushing new remote
                    heads
           Product: Mercurial
           Version: 3.8.1
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: nathan12343 at gmail.com
                CC: mercurial-devel at selenic.com

This behavior conflicts with what happens when I push the bookmark using an
explicit name. In the following example I have the "ipy-deprecation" bookmark
activated, and I'm trying to push to my fork of yt on bitbucket.

goldbaum at ROUS2 in ~/Documents/yt-hg on yt? 📑  ipy-deprecation
☿ hg push -B . bb:yt
pushing to bb:yt
searching for changes
abort: push creates new remote head 33dccbc73fae on branch 'yt'!
(merge or see "hg help push" for details about pushing new heads)

goldbaum at ROUS2 in ~/Documents/yt-hg on yt? 📑  ipy-deprecation
☿ hg push -B ipy-deprecation bb:yt
pushing to bb:yt
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 6 changesets with 6 changes to 4 files (+1 heads)
exporting bookmark ipy-deprecation

I'd expect "hg push -B ." to let me push the new remote head that I'm tracking
with the bookmark.

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


More information about the Mercurial-devel mailing list