Comment 6 for bug 506196

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 506196] Re: SVN checkout failing with empty authentication details

On Tue, 2010-01-12 at 04:39 +0000, Martin Pool wrote:
> 2010/1/12 Jelmer Vernooij <email address hidden>:
> >> Perhaps we should try "HEAD .bzr" before posting?
> > GET .bzr/format before the POST should work around this I think. That
> > avoids an extra HTTP request.
>
> That might have helped with some cases on Google code too. So is that
> going to be the point of this bug: that we should try to read from
> .bzr/ or .bzr/format before trying to post to it?
>
> ...Actually I'm not sure if I understand your comment. You're saying
> if we do see a .bzr/format then we should take the format name from
> that, then try using rpc? It could work, though it may be a bit
> strange inside bzrlib to switch to a RemoteBzrDir after we've started.
Yeah, if there is no .bzr/format file then it makes no sense to do a
POST request I think. I'm not very familiar with the smart client, so
I'm not sure how feasible this is.

Cheers,

Jelmer