[issue2551] hg doesn't reuse auth credentials in hg push -B

Brodie Rao bugs at mercurial.selenic.com
Tue Dec 14 04:13:21 UTC 2010


New submission from Brodie Rao <brodie at bitheap.org>:

When doing hg push -B to an HTTP server that requires authentication, hg prompts for credentials twice:

$ hg push -B foo http://server/repo --debug --verbose
using http://server/repo
sending between command
http authorization required
realm: server
user: brodie
password: 
http auth: user brodie, password ***
pushing to http://server/repo
sending capabilities command
http auth: user brodie, password ***
capabilities: changegroupsubset stream lookup pushkey unbundle=HG10GZ,HG10BZ,HG10UN branchmap
sending heads command
http auth: user brodie, password ***
searching for changes
common changesets up to [...]
no changes found
checking for updated bookmarks
sending listkeys command
http auth: user brodie, password ***
using http://server/repo
sending between command
http authorization required
realm: server
user: brodie
password: 
http auth: user brodie, password ***
sending capabilities command
http auth: user brodie, password ***
capabilities: changegroupsubset stream lookup pushkey unbundle=HG10GZ,HG10BZ,HG10UN branchmap
sending listkeys command
http auth: user brodie, password ***
exporting bookmark foo
sending pushkey command
sending 0 bytes
http auth: user brodie, password ***

----------
messages: 14646
nosy: brodie, djc, mg, nicdumz
priority: bug
status: unread
title: hg doesn't reuse auth credentials in hg push -B
topic: 1.7, bookmarks, http_proto

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2551>
____________________________________________________


More information about the Mercurial-devel mailing list