[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep github mirror status...

From: Gregory Casamento
Subject: Re: GNUstep github mirror status...
Date: Tue, 21 Feb 2012 13:42:05 -0500

I had thought about the master vs trunk issue, but I solved it by
keeping trunk and master in sync by doing a cherry-pick from trunk
when it's updated via git svn fetch.

The reasoning there is that it's pretty much standard for git to use
"master" so I decided not to break with convention and just keep them
in sync.


On Tue, Feb 21, 2012 at 1:37 PM, Derek Fawcus
<dfawcus+lists-gnustep-discuss@employees.org> wrote:
> On Tue, Feb 21, 2012 at 01:21:58PM -0500, Gregory Casamento wrote:
>> It looks like you're correct.  I used the following command to pull in
>> the data from SVN:
>> git svn clone --stdlayout --no-metadata <svnurl>
>> This should have, in the theory, pulled in the branches.   I believe
>> it did since, when I look at the repository on the disk of the machine
>> which is maintaining the copies pulled in from SVN, this is what I'm
>> seeing:
>> * master
>>   remotes/NSControl_mouseDown_fix
> [snip]
>>   remotes/trunk
>>   remotes/unlabeled-1.1.1
>> But when I clone the repo from github, I'm seeing this:
>> new-host-2:gnustep-gui heron$ git branch -a
>> * master
>>   remotes/origin/HEAD -> origin/master
>>   remotes/origin/master
>> new-host-2:gnustep-gui heron$
>> which means that the history is not being pushed to the remote
>> repository.  I'll figure out why and get back to the list.
> I'd guess this may be because the references are all under remotes/,
> and git usually doesn't push stuff under remotes.
> You could adjust the refspec for the push,  to map that to a path
> on github w/o 'remotes' in the path name.
> How about the master vs trunk issue?  AFAICR svn uses 'trunk' as the
> default mainline branch,  whereas for git the default is 'master'.
> Should 'trunk' be pushed instead of 'master', or is 'master' already mapped 
> to 'trunk'?
> .pdf
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]