[Users] Checking out branches with GetComponents

Ian Hinder ian.hinder at aei.mpg.de
Tue Jun 15 09:28:59 CDT 2010


On 15 Jun 2010, at 16:24, Eric Seidel wrote:

>> Do you have experience with branches in git?  Is it easier to use
>> branches, or to have separate repositories and push/pull changes in
>> between?
>
> I thought that the ease of branching/merging was one of the major  
> selling points of git, but idk if branches would be the preferable  
> method for indicating a stable release (I don't see why not). My  
> question is can you specify a specific branch in the URL as you can  
> in cvs/svn.

I don't think you can specify the branch in the URL.  After it is  
cloned, you need to do "git checkout <branchname>" in the repo  
directory.

> I think it would be best if we had 2 thornlists, one for the stable  
> release, and one for development. To me this approach makes more  
> sense because in general we can't guarantee that all stable branches  
> will have the same tag, so doing some clever tricks within  
> GetComponents wouldn't work as well.

Yes, I agree.

> As far as branching with GetComponents goes, it doesn't do anything  
> beyond checking out from a URL. So branching would work for cvs/svn,  
> but possibly not for git (I'll have to look into that a bit)
>
> On another note, there is a bug in GetComponents that I'm planning  
> to address a bit later today. We're trying to merge all the git- 
> repos/hg-repos etc into one repos folder, but it causes an error if  
> you try to update ET with the newest version of GetComponents from  
> last night. So I would recommend either doing a clean checkout of  
> ET, or wait until a bit later today and I'll try to have  
> GetComponents make the change a bit more elegantly.
>
>
> Eric

-- 
Ian Hinder
ian.hinder at aei.mpg.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20100615/996c5755/attachment.html 


More information about the Users mailing list