Sharad Gupta wrote:
> i was trying to convert my cvs repo into svn and the
binary files are
> getting corrupt. i have been using only tortoisecvs to
fully maintain my
> existing cvs and all the binary files are marked
properly. now when i
> convert using options file the binary files do get
corrupt. i have
> realized this is due to the fact cvs2svn or svn not
recognizing the fact
> these are binary files. i have tried the following
methods.
>
> (these are png files)
>
> 1.) turn off eol and keywords (this works but i will
like the text
> files to be worked properly)
>
> 2.) add the png extension into svn config plus add the
> AutoPropsPropertySetter(
> 'C:/Documents and Settings/Sharad/Application
Data/Subversion/config',
> True,
> ),
> (this does set the mime type to image/png but still
goes forward with
> eol conversion and keywords hence corrupting the file)
>
> 3.) next i tried removing the ext from svn config and
added this
> BinaryFileDefaultMimeTypeSetter(),
> (this doesn't add the application/octet-stream to
the png files)
>
>
>
> also tried some other stuff. only thing to get this
conversion to
> work is turn off eol and keywords. now since the files
are marked properly in
> cvs i shudnt be getting this problem in the first
place
>
>
> i am using
> Windows Xp Sp2
> SVN 1.4.2
> cvs2svn 1.5.0
> python 2.5
Sorry I didn't respond earlier.
I'd like to see your whole cvs2svn.options file, and the
command line
that you used to invoke the script. If you could send that
to the
mailing list, then I will take a look at it.
Michael
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe cvs2svn.tigris.org
For additional commands, e-mail: dev-help cvs2svn.tigris.org
|