Hi Michael,
Actually when trying to get a cloned repo linked back to svn I had a tough
time figuring out what would work. The git documentation seems to say you
can simply do the svn init and then the following:
git update-ref refs/remotes/git-svn origin/master
BUt this did not work for me. I think it has something to do perhaps with
not having the entire history available. Doing the same fetch as i did for
the initial creation of the repo was the only way i could figure out how to
get the link back to svn.
As for the difference between this and just doing a git svn clone... i am
not 100% sure. I am not sure if you take two separately git svn cloned
repositories if git will consider them to have a shared history or not. If
so having the "canonical" repo is not that much benefit.
-Justin
On Fri, Nov 11, 2011 at 5:46 PM, Michael Bedward
<[email protected]>wrote:
> Hi Justin,
>
> Sorry for this newbie question, but I'm confused about the difference
> between what you first get by cloning the git repository and what you
> later get by doing git svn fetch.
>
> I understand that initial clone gives you the repo with history back
> to r36490 but no link to the svn repo, hence the need to do git svn
> init. But then the fetch seems to bring it all in again which is the
> point at which I lose it :)
>
> So, how is this method different to just doing git svn clone -r 36490 ?
>
> Michael
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel