Re: git-svn segmetation fault

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven Walter <stevenrwalter@...>
Cc: <git@...>
Date: Saturday, February 2, 2008 - 9:21 pm

Steven Walter wrote:
I've messed something up, I've just re-cloned and all is well.

Actually, a related question which you seem to imply from
your answer to the crash. I have the local git repo and also
one on a local server which I created as follows:

local$: git svn clone -s https://async-msgcomp.googlecode.com/svn amc
local$: ssh srvr
srvr$: cd <to local server/path to repo>
srvr$: mkdir amc.git
srvr$: cd amc.git
srvr$: git --bare init --shared
srvr$: exit
local$: cd amc
local$: git remote add origin git:<to local server/path to repo/amc.git>
local$: git push --all



So at this point amc/.git/config looks like:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[svn-remote "svn"]
        url = https://async-msgcomp.googlecode.com/svn
        fetch = trunk:refs/remotes/trunk
        branches = branches/*:refs/remotes/*
        tags = tags/*:refs/remotes/tags/*
[remote "origin"]
        url = git://192.168.0.8/amc.git
        fetch = +refs/heads/*:refs/remotes/origin/*
wink@ic2d1:$




I now have three repositories one local git repo, one git repo on srvr
and one svn repo at googlecode.com. I feel really good and backed up
to the max:) But assume the svn repo is huge and the initial git svn
clone takes a long time.

What steps would be needed to recreate a "local git repo" from the
"git repo on srvr" that I could use against the svn repo?

I tried a little test, I cloned my git repo on srvr locally to amc-xx
and added the [svn-remote "svn"] section to amc-xx/.git/config
and then did a git-svn fetch. From what happened it looks like I
just did a git svn clone and didn't save any time.

Also, a follow up can I create an svn repo from a git repo.

Anyway, thanks for the help,

Wink

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn segmetation fault, Wink Saville, (Fri Feb 1, 6:32 pm)
Re: git-svn segmetation fault, Wink Saville, (Fri Feb 1, 8:50 pm)
Re: git-svn segmetation fault, Eric Wong, (Sat Feb 2, 12:06 am)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 12:53 am)
Re: git-svn segmetation fault, Steven Walter, (Fri Feb 1, 11:42 pm)
Re: git-svn segmetation fault, Wink Saville, (Fri Feb 1, 11:55 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 12:03 pm)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 2:56 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 5:03 pm)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 9:21 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 10:42 pm)
Re: git-svn segmetation fault, Wink Saville, (Sun Feb 3, 5:42 pm)