Help setting up repository(ies)

Sean Russell hg at ser1.net
Fri Sep 19 11:59:01 UTC 2008


On Sunday 31 August 2008 17:13:44 Dmitry Nezhevenko wrote:
> On Sun, Aug 31, 2008 at 03:45:37PM -0400, Todd O'Bryan wrote:
> > How should I deal with this in Mercurial? Can I provide read/write access
> > only to parts of a Mercurial repo or should I just set up a separate repo
> > for each student to push to and trust them to keep things straight? Any
> > other ideas?
...
> I think, that you should create personal repo (clone of 'master/trunk') for
> each student (with read/write access) and share 'master' (read-only).
> Workflow for student will be almost same:

This seems to be the common suggestion -- create a separate master repo for 
each student.  If I can offer a slightly different approach: 

Have each student buy a $6 1GB flash drive and clone the master repo onto that 
at the start of class.  Have them do all of their work on the drive (at work 
or at home) and email you bundles when they're ready for you to review/merge 
back into the master.

Your set-up isn't any different than any open-source project, except that your 
contributors want to be able to take their clones with them.

--- SER



More information about the Mercurial mailing list