[Bug 3907] New: pushing bookmark moves doesn't actually work

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Apr 24 15:34:00 CDT 2013


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

          Priority: normal
            Bug ID: 3907
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: pushing bookmark moves doesn't actually work
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: durin42 at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6-rc
         Component: Mercurial
           Product: Mercurial

I was hunting a bug (I thought) in googlecode, but ended up reproducing this
against hg itself. Steps to reproduce:

  $ hg init wat
  $ hg serve --port 8888 --config 'web.allow_push=*' --config
web.push_ssl=false &
  $ cd $CREW
  $ hg book -r @^ at
  $ hg push -B at http://localhost:8888/
  $ hg book at
  moving bookmark 'at' forward from * (glob)
  $ hg push -B at http://localhost:8888/
  updating bookmark at failed!

Server log:

127.0.0.1 - - [24/Apr/2013 16:27:02] "POST /?cmd=pushkey HTTP/1.1" 200 -
x-hgarg-1:key=at&namespace=bookmarks&new=70675d77fd4a78d3e57723550d9f3031345d38e4&old=


IOW, we're not sending the old= value during the bookmark push, and that's
causing problems. I can reproduce this with clients back as far as 2.2, as well
as servers as old as 2.2, so I'm not convinced this has /ever/ worked reliably.

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


More information about the Mercurial-devel mailing list