[PATCH 0 of 2] httprepo error feedback

Matt Mackall mpm at selenic.com
Mon Mar 7 21:49:55 CST 2011


On Mon, 2011-03-07 at 19:12 -0600, Augie Fackler wrote:
> On Mar 7, 2011, at 6:39 PM, Matt Mackall wrote:
> > 
> > On Tue, 2011-03-08 at 01:33 +0100, Mads Kiilerich wrote:
> >> The fallback to static-http gets in the way.
> > 
> > I'd rather not, as there's no shortage of users. But we can perhaps
> > complain a bit when the fallback happens.
> > 
> > And maybe we can:
> > 
> > - try real http
> > - if that fails, try static http
> > - if that fails, try real http again and don't catch the error
> 
> 
> Can't we hang on to the exception and just raise the original real http error without doing the extra roundtrip?

Yes, that should work just fine.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list