Protecting subfolders with hgweb.cgi

Benoît Allard benoit at aeteurope.nl
Fri Apr 25 08:44:49 CDT 2008


Ted Pavlic wrote:
> 
> I think the only way I can deal with this problem is to have two 
> repositories -- a documentation repository and a quiz repository. I'd 
> put the documentation one on-line and keep the quiz one private. Am I 
> correct? Or is there a simpler solution?
> 
> Right now I only have one repository. Is there any way that I can "break 
> off" the quiz-specific stuff into its own repository, maintaining its 
> history? I know how to use quilt (mq). Should I just try isolating the 
> quiz-specific patches and creating a new repository that way?
> 

Try the convert extension in its flavor hg -> hg with a filemap 
specifying only subpart of your repository, and run it twice for each 
new subrepo.

http://www.selenic.com/mercurial/wiki/index.cgi/ConvertExtension

Regards,
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080425/aa2def77/attachment.bin 


More information about the Mercurial mailing list