trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2013

Re: [trinity-devel] Do new git branches and tags (master->origin/master, etc.) change repo update calls?

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 23 Dec 2013 16:38:55 -0600
On 12/23/2013 01:47 PM, Darrell Anderson wrote:
>> Additionally,
>>
>>  I have hit numerous fatal errors running the
>> switch_all_submodules_to_head_and_clean script. Examples:
> 
>> I have had similar failures with:
>>
>> kdmtheme
>> kio-apt
>> kio-locate
>> kio-umountwrapper
>> networkmanager9
> 
> All of those modules have been renamed.
> 
>> I guess these have all been removed from the tree, but is there a 
>> way to tell git to just erase them and keep going instead of 
> failing?

Yep,

Fetching submodule main/applications/kpowersave-nohal
fatal: repository
'http://drankin@.../scm/git/kpowersave-nohal/' not found

Then I would manually remove main/applications/kpowersave-nohal and re-run the
scripts/switch_all_submodules_to_head_and_clean, and bam:

Fetching submodule main/applications/kradio
Password for 'http://drankin@...':
fatal: unable to access 'http://drankin@.../scm/git/kradio/':
The requested URL returned error: 403

manually delete main/applications/kradio, and re-run...

Finally I got it to run all the way through. So I guess my local copy is OK.

> 
> After you manually update the 
> switch_all_submodules_to_head_and_clean script all modules should 
> update correctly, which will include removing the old modules and 
> pulling the renamed modules.
> 

That's what I thought, but I had to manually remove the renamed modules. I'll
see how it goes. Thanks again for your help!

-- 
David C. Rankin, J.D.,P.E.