Re: [OSGeo-Discuss] Experiences moving from SVN to GIT by keeping existing TRAC ?

2015-10-12 Thread Sandro Santilli
On Mon, Oct 12, 2015 at 01:06:09PM +0200, thomas bonfort wrote: > Sandro, > Both mapserver and proj.4 were migrated from trac/svn to git(hub). The > plain git (not github) part can be done by "git svn" and the following > script that creates a lookuptable that matches svn revisions with git > shas.

Re: [OSGeo-Discuss] Experiences moving from SVN to GIT by keeping existing TRAC ?

2015-10-12 Thread thomas bonfort
Sandro, Both mapserver and proj.4 were migrated from trac/svn to git(hub). The plain git (not github) part can be done by "git svn" and the following script that creates a lookuptable that matches svn revisions with git shas. From that lookuptable you can update your trac db to replace r1234 instan

[OSGeo-Discuss] Experiences moving from SVN to GIT by keeping existing TRAC ?

2015-10-12 Thread Sandro Santilli
I'm evaluating the cost of moving PostGIS code from SVN to GIT and wondering how other projets (if any) dealt with this. I think it would involve: 1) import SVN repo into a GIT one. 2) rewrite TRAC ticket references to point to corresponding GIT hashes. Did anyone do any of the above targe