Hello,
I have tested nested repositories and went to the conclusion they don't
fit our needs. I preferred Forest extension behaviors; what a pity it's
buggy with last python version and unmaintained since Mercurial includes
Nested repositories.
It cannot be used by Nuxeo developers because as you said only a few
commands are subrepo-aware and because we need to be able to work only
on a module (nested cannot be unactivated, we can't commit only on nuxeo
root without pushing full repository hierarchy). We, Nuxeo developers,
worked around the Mercurial limitations using scripts such as hgf, hgx
(see "Useful Shell functions on
http://doc.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources).
However, it could be useful to define nested repositories in order to
ease the sources cloning for outside testers. Tell us :)
Regards,
Robert P. J. Day a écrit :
after a bit of testing earlier today, i don't think mercurial nested
repos are going to help. while they superficially look like
"svn:externals", at the moment, only a small number of hg commands are
subrepo-aware -- commit, push and update. so even after setting up
the proper .hgsub file, you can't do nested "hg pull" or "hg
incoming", which (sort of) minimizes the value of that feature.
for the nuxeo repos, setting this up involved simply creating the
top-level .hgsub text file:
=====
nuxeo-common = http://hg.nuxeo.org/nuxeo/nuxeo-common
nuxeo-runtime = http://hg.nuxeo.org/nuxeo/nuxeo-runtime
nuxeo-core = http://hg.nuxeo.org/nuxeo/nuxeo-core
nuxeo-services = http://hg.nuxeo.org/nuxeo/nuxeo-services
nuxeo-theme = http://hg.nuxeo.org/nuxeo/nuxeo-theme
nuxeo-webengine = http://hg.nuxeo.org/nuxeo/nuxeo-webengine
nuxeo-jsf = http://hg.nuxeo.org/nuxeo/nuxeo-jsf
nuxeo-gwt = http://hg.nuxeo.org/nuxeo/nuxeo-gwt
nuxeo-features = http://hg.nuxeo.org/nuxeo/nuxeo-features
nuxeo-dm = http://hg.nuxeo.org/nuxeo/nuxeo-dm
nuxeo-distribution = http://hg.nuxeo.org/nuxeo/nuxeo-distribution
=====
adding it and committing it locally, which generated the
corresponding .hgsubstate file:
=====
de4859549a9c4743329f7a7c4c44b0c81bf64bfc nuxeo-common
10557e150625d3bf6079c69e5892a9fa6c90c128 nuxeo-core
d7129ff319a2620bddb0c0a4f10e71d5ccd9f2ca nuxeo-distribution
41db14b32bc6bc0cd57546ea18e577073958ab43 nuxeo-dm
55569fcb78d9c6d803ac950c47c771b28bc9755c nuxeo-features
cf38bcd105488ae4f81691036ceb37e00dd716ce nuxeo-gwt
995591e221cb77cb1eb2391dd03fd9d3eba2d1d2 nuxeo-jsf
885beca501cda4a68a724ed234912a49fd6a90e4 nuxeo-runtime
eac7526e81b11d0c0f7cf7d3cc53a39fead24202 nuxeo-services
49e431975ca564ebecf9ad3ad10a45b7ba457932 nuxeo-theme
dad67a234e4e2b14154496da9e8ae91c2604a6ff nuxeo-webengine
=====
at that point, my nested repos are set up locally but, as i
mentioned above, the value is somewhat limited with only a few hg
commands taking advantage of that.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[email protected] | Tel: +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm