This project is read-only.

failed update repos

Topics: General, Installing Orchard
Aug 25, 2012 at 1:07 PM

% hg update --repository G:\orchard1.6 --verbose --config ui.merge=internal:merge --rev 6490resolving manifestsgetting src/Orchard.Web/Modules/Orchard.Alias/AdminMenu.cs

abort: path 'src\Orchard.Web\Modules\Orchard.Alias\AdminMenu.cs' is inside nested repo 'src\\Orchard.Web\\Modules\\Orchard.Alias'[command returned code 255 Sat Aug 25 07:57:46 2012]

Aug 25, 2012 at 3:02 PM

This error occurs since the sub-repositories has been reintegrated in the main Orchard repository.

A way to retrieve the latest 1.x version is to clone directly one of the latest changeset of 1.x :

hg clone --rev 3318cd003030 -- G:\OrchardSources


Try and tell me if it works.

I did it and I managed to retrieve the 1.x branch but there could be another problem :
After doing this on recent changeset (after integration of subrepo), I opened Hg workbench and clicked on Pull and it retrieved the other branches and inserted them in the changesets at the end.
The problem is that when new changes have been pushed, I had an error retrieving them. 

Aug 25, 2012 at 3:03 PM

I ended up recloning. Takes a few minutes, but works like a charm.

Sep 23, 2012 at 11:25 PM

For those who are not TortoiseHg ninjas:

1- Do this from a command prompt

2- From your target directory, run: hg clone --rev 6534 C:\\MyDevelopmentDirectory

where '6534' is the latest and greatest rev number you want to clone from.

Hope that helps.