git-svn-import or CVS import from local HD rather than remote.
- From
- Boyd Lynn Gerber <gerberb@zenez.com>
- Date
- Jun 12, 2008, 18:36 UTC
- Message-ID
- <Pine.LNX.4.64.0806121214210.18454@xenau.zenez.com>
Hello,
I have a local svn of about 100 svn projects. I have sripts that update via svn all these repo's daily. What I want to do is to import these local svn tree's into git. I can not seem to get it to work.
This is the latest attempt.
git-svnimport -C /working/git/project /master/svn/pub-svn/category/project
The above seems to work with the remote url's, but I really need to be able to update my working copies of svn and cvs into git.
I have as follows...
/master/cvs/category/project/ /master/svn/category/project/ /master/git/categroy/project/
/working/cvs/category/project/ /working/svn/category/project/ /working/git/category/project/
All my master stuff is being updated automatically. My working is being updated as well via the various management systems. What I am having problems doing is the automation of cvs and svn into my working git.
Git pulls from master git to the working git project without a problem. I want all the projects under git. What I have now or want is in
/working/git/category/project
Examples of categories are
X11 audio db devtools ebus emulators fileutils gnome interp java libraries mail net qt shells shellutils sysadmin textproc
so for example
I want to have
/working/git/interp/perl /working/git/interp/php /working/git/interp/python
And have it updated via cron from my master repo's. Could anyone shed some light on the best way to do this?
Thanks,
-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047