Help: How to manage a set of files within several different repos

Ted Pavlic ted at tedpavlic.com
Sat Feb 14 10:37:13 CST 2009


Thanks, again, for this suggestion.

I have another question...

> .hg/hgrc:
> [paths]
> template = path/to/template
>
> You can then just pull changes from there via "hg pull template"

Every time I merge into the larger repo from the smaller template repo, 
every single file in the larger repo that isn't in the smaller template 
repo gets touched. That is, the "mergeset" contains all of the files 
from the main repo plus the changes from the small repo.

As a consequence, "make" wants to rebuild every subdirectory.

Is there any way (some kind of rebase? or cherry pick? or something like 
that?) to apply changes from the small "template" repo that doesn't 
touch every file from the main repo?

I know I could export patches from the smaller repo and import them into 
the bigger repos, but it seems like there should be a more automated way 
of doing it (that maybe even maintains commit messages and maybe even 
commit IDs).

<?>

TIA --
Ted

-- 
Ted Pavlic <ted at tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.


More information about the Mercurial mailing list