Re: [fossil-users] importing from svn?

2009-12-04 Thread Joshua Paine
On Fri, 2009-11-20 at 10:13 +0100, Ramon Ribó wrote: >The script attached is a 250 lines code in TCL that imports a cvs > project into fossil. I am sure that it will be easy for you to adapt > to svn. I haven't tried to modify this to work with SVN, but I have used it on a CVS repository with

Re: [fossil-users] importing from svn?

2009-11-20 Thread Ramon Ribó
Hello, The script attached is a 250 lines code in TCL that imports a cvs project into fossil. I am sure that it will be easy for you to adapt to svn. Feel free to do whatever you want with it. The capabilities of the script are as follow: 1- It can import one or several cvs projects

Re: [fossil-users] importing from svn?

2009-11-19 Thread Joshua Paine
On Thu, 2009-11-19 at 19:33 +, James Gruessing wrote: > There's only one problem with that, and that is, how do you plan on > handling forks and mergers, as well as multiple branches? I don't! I haven't seen the history of the repo I need must pressingly to import, but with less than 150 rev

Re: [fossil-users] importing from svn?

2009-11-19 Thread James Gruessing
There's only one problem with that, and that is, how do you plan on handling forks and mergers, as well as multiple branches? ~ James On 19 Nov 2009, at 19:30, Joshua Paine wrote: > Are there scripts already to do this? Any tips for if I try to write > one > myself? My thought is to start wi

[fossil-users] importing from svn?

2009-11-19 Thread Joshua Paine
Are there scripts already to do this? Any tips for if I try to write one myself? My thought is to start with an empty fossil repo opened in an empty dir. Then checkout revision 1 from svn, update to revision 2, update to revision 3, etc.. At each step parse the update output (one line for each file