1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #1609 resolved

abort: HTTP Error 405: Method not allowed

Steve Borho
created an issue

I noticed this started happening with nightly unstable builds of tortoisehg (and tip of Mercurial unstable).

{{{ C:\thg-winbuild>hg.exe push --debug using https://bitbucket.org/tortoisehg/thg-winbuild http auth: user sborho, password * sending between command pushing to https://sborho:**@bitbucket.org/tortoisehg/thg-winbuild sending capabilities command capabilities: unbundle=HG10GZ,HG10BZ,HG10UN branchmap lookup changegroupsubset sending heads command searching for changes common changesets up to c7dd88b87844 sending branchmap command 1 changesets found list of changesets: 84d1e6ddd06cb79f5e43dac05a7527fc158b46b8 sending unbundle command sending 370 bytes abort: HTTP Error 405: Method Not Allowed }}}

If I turn around and use the 1.4 release build, installed as Python source on the same machine, the push succeeds.

{{{ C:\thg-winbuild>hg push --debug using https://bitbucket.org/tortoisehg/thg-winbuild http auth: user sborho, password ** sending between command real URL is https://bitbucket.org/tortoisehg/thg-winbuild/ pushing to https://sborho:@bitbucket.org/tortoisehg/thg-winbuild sending capabilities command capabilities: unbundle=HG10GZ,HG10BZ,HG10UN branchmap lookup changegroupsubset sending heads command searching for changes common changesets up to c7dd88b87844 sending branchmap command 1 changesets found list of changesets: 84d1e6ddd06cb79f5e43dac05a7527fc158b46b8 sending unbundle command sending 370 bytes http auth: user sborho, password * adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files bb/acl: sborho is allowed. accepted payload. quota: 171.3 MB in use, 150.0 MB available (114.20% used) }}}

Comments (5)

  1. Steve Borho reporter

    To be more precise:

    C:\thg-winbuild>hg.exe version
    Mercurial Distributed SCM (version 1.4+34-ea3acaae25bb)
    
    Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    C:\thg-winbuild>hg version
    Mercurial Distributed SCM (version 1.4)
    
    Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
  2. Jesper Noehr

    I don't know, this sounds like a thg bug more than anything.

    To clarify: It doesn't sound like a thg issue. Is there anything new in 1.4+ I should know about? E.g. the keepalive stuff, did that make its way in?

  3. Steve Borho reporter

    I've just reproduced this on Linux:

    % hg push --debug 
    using https://bitbucket.org/tortoisehg/thg-winbuild
    http auth: user sborho, password not set
    sending between command
    pushing to https://sborho@bitbucket.org/tortoisehg/thg-winbuild
    sending capabilities command
    capabilities: unbundle=HG10GZ,HG10BZ,HG10UN branchmap lookup changegroupsubset
    sending heads command
    searching for changes
    common changesets up to 84d1e6ddd06c
    sending branchmap command
    1 changesets found
    list of changesets:
    a71b6b7be9991b26dd3d104d8278c7d5a6873349
    sending unbundle command
    sending 540 bytes
    abort: HTTP Error 405: Method Not Allowed
    % hg version
    Mercurial Distributed SCM (version 1.4+57-a68fb6f4ae4b)
    
    Copyright (C) 2005-2009 Matt Mackall <mpm@selenic.com> and others
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    % uname -a
    Linux trixy 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
    
  4. Log in to comment