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

Ted Pavlic ted at tedpavlic.com
Mon Feb 9 07:15:13 CST 2009


> Thanks very much! That seems to do the trick. I'm not *sure* it is less
> work this way, but I feel much better about the changeset history.

I left out a detail that I use "hg convert" to create public versions of 
these repos (they're repos for courses, and I can't export the 
quizzes/solutions to everyone). It's fascinating to see how "hg convert" 
deals with the branch. If the original changeset history would have...

11 merge with template
10 template change
9 repo change
8 repo change
7 merge with template
6 template change
5 template change
4 repo change
3 repo change
2 merge with template
1 template change
...


the "hg converted" repo will have

11 merge with template
10 merge with template
9 merge with template
8 template change
7 template change
6 template change
5 template change
4 repo change
3 repo change
2 repo change
1 repo change

That is, everything gets "grouped" since the last convert. As a 
consequence, the top of the converted repo's changeset history gets a 
pile of merges on top of each other.

I'm not sure that's a bug or not. :)

--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