Confirming user name and password

Jason Harris jason at jasonfharris.com
Fri May 6 04:52:07 CDT 2011


On May 6, 2011, at 10:10 AM, Benoit Boissinot wrote:

> On Fri, May 6, 2011 at 6:21 AM, Jason Harris <jason at jasonfharris.com> wrote:
>> 
>> I wanted to take a quick look at this myself...  But I have given this a tiny look and I have two questions so far:
>> (1) How should I create the empty bundle?
> 
> Best is to read the code and create a bundle which contains a bunch of
> nullid revs.

So this can't be done from the command line with a series of commands then...?

>> (2) Once I have the empty bundle how do I test the username + password on the server?
> 
> Dunno if that can be done from the commandline, it would be useful to
> have a debugpushbundle for that maybe.

Ok so basically apart from Martin's method, there is no way to do this without really wading into
the code and changing things / making an extension.

That is problematic that we can't easily test a username + password combination on a server...

Since Martin's method works and I don't have to go studying code and try to make an extension
with it, since what version of Mercurial would the server support:
   hg debugpushkey --noninteractive https://bitbucket.org/mg/hg-i18n\
    namespaces key old new

Cheers,
  Jas


More information about the Mercurial-devel mailing list