I just create Issue 423 (<a href="http://www.selenic.com/mercurial/bts/issue423">http://www.selenic.com/mercurial/bts/issue423</a>), for the record...<br>Marked it as a bug... Would perhaps better be a feature or a wish ?<br>
<br>-mathieu<br><br><div><span class="gmail_quote">On 11/18/06, <b class="gmail_sendername">Mathieu Clabaut</b> <<a href="mailto:mathieu.clabaut@gmail.com">mathieu.clabaut@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">On 11/17/06, <b class="gmail_sendername">Benoit Boissinot</b> <<a href="https://mail.google.com/mail?view=cm&tf=0&to=bboissin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bboissin@gmail.com<img class="TargetAlertIcon" src="chrome://targetalert/content/skin/new.png"></a>> wrote:</span><div><span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/17/06, Mathieu Clabaut <<a href="https://mail.google.com/mail?view=cm&tf=0&to=mathieu.clabaut@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mathieu.clabaut@gmail.com<img class="TargetAlertIcon" src="chrome://targetalert/content/skin/new.png">
</a>> wrote:<br>> On 11/17/06, Benoit Boissinot <<a href="https://mail.google.com/mail?view=cm&tf=0&to=bboissin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bboissin@gmail.com
<img class="TargetAlertIcon" src="chrome://targetalert/content/skin/new.png"></a>> wrote:
<br>> ><br>> > > I tried to do an hg clone locally on the server, and it worked.<br>> > > The problem is reproducible on the distant machine.<br>> > > On the server side a "hg clone
<a href="http://localhost/hg/c099" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://localhost/hg/c099<img class="TargetAlertIcon" src="chrome://targetalert/content/skin/new.png"></a> " failed too.<br>> > ><br>> > Sounds like a apache (or http server problem) can you test with hg serve ?
<br>><br>><br>> Good guess !<br>> It works like a charm with hg serve (at least for the clone, didn't try the
<br>> pull)...<br>> Any insight on what may cause the problem on apache ?<br><br>No idea, I guess you should try wireshark/ethereal to see if you can<br>spot a difference between the streams, maybe hg is tracebacking due a
<br>permission problem and corrupting the stream.</blockquote></span><div><br>Yes !<br>Following the TCP streams gives me a backtrace due to :<br> OError: [Errno 13] Permission denied....<br><br> Good analysis. Thank you very much for your help !
<br><br> I think it may not be an uncommon error. Wouldn't be good, either to have a mean to log the backtrace on the server side, or better, when RevlogError(_("consistency error adding group")) is raised, have a look at the incoming data to check if the client didn't get a backtrace, and if it is the case then inform the user ?
<br> Would it make sense to recover from a faulty addgroup, analyse the chunk used, send a message to the user if it contains an http backtrace and reraise the exception ?<br><br>-mathieu<br><br> <br></div></div>
</blockquote></div><br>