No subject
andrew.cunningham
andrew.cunningham at dai.co.uk
Wed Jan 19 13:37:21 CST 2011
Hello!
It is possible to use multiple mercurial repositories from one directory?
Or alternatively, is it possible to tag a certain set of files in a
repository, such that it is possible to work with commits etc on that set of
files only?
To explain the situation, I am managing some component based software used
in a software product line style. Traditionally, we have always put all
source code into one directory. This core software is then used to build
custom applications, with a start point of copying the required set of core
components to a new environment, and then getting on with the tailoring.
We've got the entirety of the core system under version control, and also
the entirety of project applications, but no easy way of linking the two.
I've manually written some scripts which can be run on a project codebase to
diff or retrieve an individual plugin from the core system. But I'd ideally
like to be able to do this with mercurial.
So an example component might comprise the files:
email.plugin
email_lib.c
web_email_settings.c
email_test.c
I'd like the ability to add a feature to the core email plugin and do
something like 'hg commit email'. Then from a project, be able to do a 'hg
pull email' to grab that feature.
Any ideas? I know I can wrap the whole thing in shell scripts, but if
Mercurial already has something to handle this, I'd prefer to use that.
Cheers,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110119/586890ec/attachment.htm>
More information about the Mercurial
mailing list