Checking out specific branch from mercurial repository with nested repositories -
i want clone http://hg.tryton.org/2.8/trytond/ 2.8 branch. project uses hgnested extension , recommends checking out hg nclone url. current version of project newer (3.0 or 3.2).
standard nclone checks out current default. if specify specific branch clone, module (hgnested repos) clone fails because of missing revision, branch, etc. in 1 of nested repos.
questions:
- how hgnested know other "repositories" located?
- how hgnested manages list of nested repositories (like .hgsub file or something)
- hwo clone specific branch nested repositories specific branch?
- hgnested searchs hg-subrepositories in current directory tree.
- there no need manage them explicitly, see question no. 1
- hg nclone -b 3.2 http://hg.tryton.org/trytond work, because each subrepo(=tryton module in case) has branch 3.2. @ moment cannot 2.8 version, because there new modules without 2.8-branch. nclone exits on error on first module without existing 2.8-branch.
you pull whole repo "hg nclone http://hg.tryton.org/trytond" , "hg nupdate -r 2.8". error on each module without 2.8-branch, delete of them.
Comments
Post a Comment