trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-devel] GIT Problems - Cloning source

From: Michael Howard <mike@...>
Date: Thu, 3 Dec 2015 17:24:32 +0000
On 03/12/2015 02:31, Slávek Banko wrote:
> ://mirror.git.trinitydesktop.org/cgit/
> Script switch_all_submodules_to_head_and_clean was modified to facilitate
> cloning from GIT mirror. On wiki page has been added information about
> cloning from GIT mirror. By using mentioned script the cloning from the
> mirror should be easy and fast.
>

Hi Slávek,

My clone of the mirror completed but it must have started prior to your 
changes to 'switch_all_submodules_to_head_and_clean'. So this script is 
out of date. If I replace it with your modified version and run it as 
per the wiki, i.e ....

git submodule init -- scripts
git submodule update -- scripts
./scripts/switch_all_submodules_to_head_and_clean anonymous

.... git errors when it gets to the 'scripts' dir complaining about 
overwriting my local changes. I've been unable to sort this out as 'git' 
commands typed at the command line are targeting the main repo and not 
your mirror (I guess). Is there a way to sort this without re-cloning 
the whole mirror?

Regards,
Mike.

-- 
Mike Howard