[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: VSS to SVN: Is there a script to do this????

From: Brett Wooldridge <brettw_at_riseup.com>
Date: 2004-03-03 06:05:48 CET

Not to impune or detract from Kevin's script, but my company wound up
writing our own VSS to Subversion migration to suit our own needs. You
can find it here:

http://www.riseup.com/~brettw/dev

Richard J. Moore wrote:

>Thanks Kevin & Jens
>
>Below is the error message that we get.
>
>VSS repos is on a server 2000 PC
>Running the script on a WP Pro PC
>VSS version is 6.0c
>
>Any suggestions would be greatly appreciated.
>
>Richard
>
>C:\Downloads\Subversion>vss2svn.py -dumpc:\temp\svn_dump
>
>VSS Repository: \\Fileserv\VSS_setup
>VSS User: user
>VSS Password: *user*
>VSS Base: $/
>Dump File: c:\temp\svn_dump
>Commit Threshold: 2 minutes
>Path to SS.EXE: C:\Program Files\Microsoft Visual Studio\VSS\win32\
>Excluded projects: []
>Debug Mode is ON
>
>Pre-Parsing VSS Database: \\Fileserv\VSS_setup.
>
>Traceback (most recent call last):
> File "C:\Downloads\Subversion\vss2svn.py", line 739, in ?
> vssdb = Dispatch(VSS_Dispatch)
> File "C:\Python23\Lib\site-packages\win32com\client\__init__.py", line
>95, in Dispat
>ch
> dispatch, userName =
>dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
>
> File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line
>84, in _GetGoo
>dDispatchAndUserName
> return (_GetGoodDispatch(IDispatch, clsctx), userName)
> File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line
>72, in _GetGoo
>dDispatch
> IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
>pythoncom.IID_IDis
>patch)
>pywintypes.com_error: (-2147221164, 'Class not registered', None, None)
>
>C:\Downloads\Subversion>
>
>-----Original Message-----
>From: Kevin Williams [mailto:kevin_w69@hotmail.com]
>Sent: Wednesday, 3 March 2004 05:09
>To: jens.jorgensen@tallan.com
>Cc: Richard J. Moore; users@subversion.tigris.org
>Subject: Re: VSS to SVN: Is there a script to do this????
>
>Actually, I did use the version from the trunk. Google referred me to
>the
>repository directly, so I checked it out to a local folder and tried it.
>
>Here's how it went, as best I can recall. My first attempt failed and
>pointed me to some deleted entries in VSS ( syntax: ~ then GUID then _
>then
>filename, if I remember correctly). I purged all the deleted entries I
>could
>find and started over. I got a successful dump, so I tried to load it.
>The
>load failed on a sub-folder that was also a sub-project, so perhaps the
>failure is a clash of some kind. The dump file had
>"/SolutionName/ProjectName" and "/SolutionName/ProjectName/". Svnadmin
>refused to load because the directory was already defined, so I removed
>the
>second entry. I think I got another error from svnadmin (must be getting
>
>old), and I then removed all trailing slashes from the dump file. I
>can't
>say I *HAD TO* remove them, but it worked once I did.
>
>**IF** I can find time, I will re-create this and report back in more
>detail.
>
>Hope that helps,
>
>Kevin
>
>
>
>
>>From: "Jens B. Jorgensen" <jens.jorgensen@tallan.com>
>>To: Kevin Williams <kevin_w69@hotmail.com>
>>CC: richardm@debtorsoftware.com.au, users@subversion.tigris.org
>>Subject: Re: VSS to SVN: Is there a script to do this????
>>Date: Tue, 02 Mar 2004 11:24:19 -0600
>>
>>Hi, I'm the original developer and ostensible owner of that script.
>>Although I haven't had much time recently to work on it I'm still
>>interested in improving it. So, if you can give it a try and let me
>>
>>
>know
>
>
>>what you find I'd love to hear about your success with it.
>>
>>Kevin: I haven't heard of any problems with a trailing slash on
>>directories. Did you use the most recent version from trunk? Did you
>>
>>
>have
>
>
>>to do this on all directories? Did this cause the load to bomb?
>>
>>Kevin Williams wrote:
>>
>>
>>
>>>I stumbled upon https://chidb01.tallan.com/vss2svn. It seems to work,
>>>
>>>
>but
>
>
>>>I had to clean out all deleted items from VSS, and remove the trailing
>>>
>>>
>
>
>
>>>slash from the directory entries in the resulting dump file before
>>>
>>>
>loading
>
>
>>>into SVN. I ran in on a **simple** VSS project, so I don't know if
>>>
>>>
>it's
>
>
>>>ready for a big repository. YMMV.
>>>
>>>
>>>
>>>
>>>>From: "Richard J. Moore" <richardm@debtorsoftware.com.au>
>>>>To: <users@subversion.tigris.org>
>>>>Subject: VSS to SVN: Is there a script to do this????
>>>>Date: Mon, 1 Mar 2004 12:15:32 +1000
>>>>
>>>>Hi all
>>>>
>>>>Is there an easy way to import VSS into SVN?
>>>>
>>>>Thanks in advance.
>>>>
>>>>Richard Moore
>>>>Software Engineer
>>>>Debtor Software Solutions Pty Ltd
>>>>http://www.debtorsoftware.com.au
>>>>e-mail: mailto:richardm@debtorsoftware.com.au
>>>>Ph 07 3808 2255
>>>>Fax 07 3808 9467
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>>>For additional commands, e-mail: users-help@subversion.tigris.org
>>>>
>>>>
>>>>
>>>_________________________________________________________________
>>>Find and compare great deals on Broadband access at the MSN High-Speed
>>>
>>>
>
>
>
>>>Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>>For additional commands, e-mail: users-help@subversion.tigris.org
>>>
>>>
>>--
>>Jens B. Jorgensen
>>jens.jorgensen@tallan.com
>>
>>"With a focused commitment to our clients and our people, we deliver
>>
>>
>value
>
>
>>through customized technology solutions."
>>
>><< smime.p7s >>
>>
>>
>
>_________________________________________________________________
>Create a Job Alert on MSN Careers and enter for a chance to win $1000!
>http://msn.careerbuilder.com/promo/kaday.htm?siteid=CBMSN_1K&sc_extcmp=J
>S_JASweep_MSNHotm2
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 3 06:04:50 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.