Hi Goulwen,

From memory the "main" repository has an hgtags file which lists all "curret" states of it's subrepositories. Again, if I remember correctly, if you pull or update that subrepo, it's only updated to the revision listed in that hgtags file. To be able to update that hgtags file and the subrepo state you need write access on the parent repository ... which not everyone has. So that leaves it up to people with access to everything to constantly update or monitor those states. Or at least that's how we understood it.

If you know of some practical examples that show us it's not like that, please ... PLEASE ... tell us.

Best regards,

Hans

On 11/03/2011 16:31, Nautile Bleu wrote:
Hi all,

I'm currently updating my copies of the repositories. While the phing script works well, it's not really easy to see what's have been changed when you update all repos via php script/phing.php get-all. Especially you need to parse all the output to find repositories that need to be updated (because of a extra head caused by a local commit for example)

The doc on Google [1] about the migration explain why splitting the repository, but it doesn't explain why use a custom script and not Mercurial subrepositories [2][3] which seems to work the same way, but is a built-in feature plus allow to push all in one command. It also allows to pull in one step with pull --update. Plus it supports colors if you had them in your terminal :)

Regards,

Goulwen

[1] https://docs.google.com/document/d/1Nfk6DG47Qc76U0zEb9vshdYkalP0aEROr0X6mtJoeYw/edit?hl=en&authkey=CNTNnrYC&pli=1# <https://docs.google.com/document/d/1Nfk6DG47Qc76U0zEb9vshdYkalP0aEROr0X6mtJoeYw/edit?hl=en&authkey=CNTNnrYC&pli=1#>
[2] http://mercurial.selenic.com/wiki/Subrepository
[3] http://mercurial.aragost.com/kick-start/en/subrepositories/
-----------------------------------------------------
Twitter : http://twitter.com/nautilebleu/
Skype : nautilebleu
Web : http://nautilebleu.tumblr.com/


_______________________________________________
Dev mailing list
[email protected]
http://lists.chamilo.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
http://lists.chamilo.org/listinfo/dev

Reply via email to