Problem with collections in hgweb.conf

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu Jan 10 03:20:13 CST 2008


Hi all

I'm trying to configure my local collections in hgweb.config. I did:

 [collections]
 /home/peo/dev/ = /home/peo/dev/afc/
 /home/peo/dev/ = /home/peo/dev/jcite/
 /home/peo/dev/ = /home/peo/dev/rextile/
 /home/peo/dev/ = /home/peo/dev/hg/

It seems the prefix to strip has to be the *key*. But that means only
my last collection is used. Any ideas?

I do realize that I could use

  [collections]
  /home/peo/dev/ = /home/peo/dev/

but that will list far too many repos for my liking.


Actually, I think making the prefix to strip the *key* in this section
is a bad idea. Can we change this? I don't think people will want the
same root twice, but the same prefix to strip, likely.



More information about the Mercurial mailing list