trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

Re: [trinity-devel] How do I switch a copy of the GIT tree to v3.5.13-sru??

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 25 Jul 2012 17:52:36 -0500
On 07/25/2012 05:32 PM, Slávek Banko wrote:
> Here is not yet 3.5.13-sru branch on the "meta" project "tde". It is therefore 
> necessary to switch individual modules.
> 
> Slavek

  I'm having trouble with that too :(  Reading, I should be able to do:

git submodule foreach --recursive "git checkout v3.5.13-sru"

  That also gives the error:

17:45 providence:/mnt/pv/home/david/tde13/tde> git submodule foreach --recursive
"git checkout v3.5.13-sru"
Entering 'experimental'
error: pathspec 'v3.5.13-sru' did not match any file(s) known to git.
Stopping at 'experimental'; script returned non-zero status.

  In the individual applications of git.trinitydesktop.org, I do see the branch
listed "origin/v3.5.13-sru".

  So do I need to write a quick script to loop through each of the modules in
main, main/dependencies, main/applications and do it in each directory?  If so,
then how would I update the tree when you make changes? Same way? If I do a
normal git pull, wouldn't that just switch back to HEAD or origin/master?

  Thank you for trying to help! We will git this figured out (no pun intended).

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