hg clone 404 error

John Francis Lee jfl at robinlea.com
Tue Oct 7 00:01:41 UTC 2008


Martin Geisler wrote:
> John Francis Lee <jfl at robinlea.com> writes:
> 
>> Martin Geisler wrote:
>>  >> John Francis Lee <jfl at robinlea.com> writes:
>>  >>
>>   >>> I can now see my repos at
>>   >>>   http://www.uspvp.org/hg
>>   >>>
>>   >>> But
>>   >>>   hg clone http://www.uspvp.org/hg/repos/CFA CFA
>>   >>> fails
>>  >>
>>  >> Looking at your site, I think you want to do
>>  >>
>>  >>   hg clone http://www.uspvp.org/hg/CFA/
>>  >>
>>  >> (the clone will be called CFA automatically)
>>
>> Works like a charm! So the idea is that through some interaction of hg
>> with hgweb.config the intervening 'repos' directory is 'disappeared'?
> 
> If you have something like
> 
>   [collections]
>   /home/uspvp/repos = /home/uspvp/repos
> 
> in your hgweb.config file, then that means that you want to serve
> repositories from the directory mentioned to the right of the equals
> sign, and that you want to strip off the part to the left.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial

Once I go to
  http://www.uspvp.org/hg
and then venture into a particular repo
  http://www.uspvp.org/hg/NI4d
for instance, I am unable to return to
  http://www.uspvp.org/hg
without editing the location url in my browser.

I would like to be able to do so with clicks, without having to edit the 
location url or using alt+<-, although I'd still expect those to work of 
course.

Can I do this by means of the [collections] specification in hgweb.config?

Thanks for your help.
-- 
"This message may have been intercepted and read by U.S. government 
agencies including the FBI, CIA, and NSA without notice or warrant or 
knowledge of sender or recipient."

John Francis Lee
1025/37 Thanon Jet Yod
T.Wiang A.Mueang J.Chiangrai 57000




More information about the Mercurial mailing list