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

Re: a basic vss2svn.py

From: Jens B. Jorgensen <jens.jorgensen_at_tallan.com>
Date: 2003-11-14 21:25:06 CET

Ahh, ok. Interesting. I've never used this VSS feature and hadn't
realized it existed. This shouldn't be hard to fix but the question is
what the program should do. I'm guessing that the version log is kept
just not the actual file so what version should we put in the
repository? Any? We probably need some version so if you checked out the
repository for that point in time or that revision you'd have /some/
version of the file (and indeed the latest may be fine for you since you
elected to store only the latest version in the repository). Does this
make sense to you?

Eric Hanchrow wrote:

>Here's another report from the front lines.
>
>Revision 8 seemed to get much further along than did revision 4 (the
>last one I tried). At least, it ran for much more wallclock time --
>an hour or more (I got bored and went home, so I don't know how long
>it ran).
>
>However, it too died, like this (this is an attachment, rather than
>inline, since the lines are long and my mailer would complain if it
>were inline):
>
>
>
>
>------------------------------------------------------------------------
>
>Created $/development/vhti/bindings/perl/examples/auth0.xml
>Traceback (most recent call last):
> File "vss2svn.py", line 479, in ?
> dumper.add_or_change_file(rev_item)
> File "vss2svn.py", line 339, in add_or_change_file
> rev_item.vssitem.Get(fname)
> File
> "c:\DOCUME~1\erich\LOCALS~1\Temp\gen_py\2.3\783CD4E0-9D54-11CF-B8EE-00608CC9A71Fx0x5x1.py", line 254, in Get
> return self._ApplyTypes_(10, 1, (24, 32), ((16392, 51), (3, 49)),
> 'Get', None,Local, iFlags)
> File "D:\Python23\lib\site-packages\win32com\client\__init__.py", line 445, in _ApplyTypes_
> return self._get_good_object_(self._oleobj_.InvokeTypes(*((dispid, 0, wFlags , retType, argTypes) + args)), user, resultCLSID)
>pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'SourceSafe', 'File auth0.xml does not retain old versions of itself', 'ssusexp.hlp', 10607, -214 7166575), None)
>
>
>------------------------------------------------------------------------
>
>
>For what it's worth, the file it was chewing on has SourceSafe's
>"Store only latest version" flag set, but it might not have had that
>flag set when it was first created.
>
>
>

-- 
Jens B. Jorgensen
jens.jorgensen@tallan.com
"With a focused commitment to our clients and our people, we deliver value through customized technology solutions."
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 14 21:28:14 2003

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

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