Hi Thomas,
I will cc to the mailing list again, since no protected information is
disclosed in the following conversation. To all who didn't follow our
private conversation, Thomas has a broken physical file in his
repository, that actually has zero content. So the ssphys program will
exit with a non zero exit status, and the error message "unrecognized file".
In this case we simply can't do anything about that, except skipping
this file and continue with the all next files. The current behavoir is
to ignore the return value of the ssphys command (see
http://www.pumacode.org/projects/vss2svn/browser/trunk/script/vss2svn.pl#L965,
the $allowfail parameter is always set to true) but later the converter
crashes due to missing error handling in this situation. Esp. in this
case the XMLReader tries to read a file that was not created in the
first hand. I have created ticket #29 for this request.
Best regards
Dirk
Thomas Rusterholz schrieb:
Hi Dirk,
I sent you the file as it exists in our repository.
The problem with the migration is that the vss2svn actually interrupts the
process i.e. it is not possible to skip the file.
Switches to skip files which are known to be corrupt would be a good thing.
Cheers,
Thomas
-----Ursprüngliche Nachricht-----
Von: Dirk [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 4. Mai 2006 22:19
An: Thomas Rusterholz
Betreff: Re: SSPHYS.exe: unrecognized file (Vss2Svn 0.10 beta-2)
Hi Thomas,
The first file is empty while the .a file contains source code in
plaintext. And I can’t open it in VSS.
if the file is really empty, I can't do anything about that. This
"physical" file (or log-file) records all history of the file. If it is
broken or even empty, the history is unrecoverable. MS itself has some
description about the files here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvss/html/
vssbest.asp
Visual SourceSafe creates two files in the Data directory for every
file and project that you add to Visual SourceSafe (with one exception
described later in this section). These file pairs are distributed
evenly across the A through Z subdirectories in the Data directory.
The file without an extension (such as QRBAAAAA) is the log file for
the file type being stored. The log file contains internal information
for Visual SourceSafe, such as who added the file, where it exists,
and all the differences between the versions of the file. The file
with an .a or .b extension (such as QRBAAAAA.A) is the most recent
version of the actual file stored under a Visual SourceSafe physical
name. Each time a file is checked in, the extension it is saved with
alternates between .a and .b.
So please check, whether the file is really empty (0 bytes long). The
file you send me doesn't contain any content.
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user