Many Projects/Repositories and common Libraries

Steven Scott chowarmaan at gmail.com
Mon Jan 10 13:03:05 CST 2011


	I have a new user question so I try to get the most out of Mercurial
at the beginning, and not make any bad assumptions/mistakes when
starting out.  I have a number of projects that I want to place into
repositories.  As a new user, I have read that it is best to place
each project into its own repository.  However, I also have a common
library/API that is used by a number of those projects.  I want to use
the library at a version level and be able to replace/update the
library in any project at any time.  Is it still best to keep
individual repositories and then copy the library into the directory
of the project as it changes?  Is there a way to get it to be copied
on a change in case another developer changes the library?  Ideally,
this would be at a release point (labeled, etc...).


More information about the Mercurial mailing list