Protecting subfolders with hgweb.cgi
Ted Pavlic
ted at tedpavlic.com
Fri Apr 25 13:04:39 UTC 2008
In a lab I teach, I distribute lots of course materials as PDFs that I
created with LaTeX. The source tree for the entire class is managed by
Mercurial, and I would like to publish the source code for those
documents in case my students want some examples for their own code.
Unfortunately, I also keep the source code for my quizzes and finals in
the repository (which includes solutions). I don't mind the students
seeing the source for the documentation that I distribute, but I'd still
like to hide the quizzes/finals from them.
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?
Thanks --
Ted
--
Ted Pavlic <ted at tedpavlic.com>
More information about the Mercurial
mailing list