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

[TSVN] Re: Content corruption during import

From: Thomas Hallgren <thhal_at_tigris.org>
Date: 2004-11-18 10:42:04 CET

SteveKing wrote:
> I hate to say that: but I don't go now and do the whole reproduction
> recipe. You could at least tell us what the difference between those
> files is! If you can tell us that, I can try to reproduce it.
>
Ok, here's what I do. I use TortoiseSVN and the Windows Explorer for all
my actions:

1. Create a directory, say "sandbox".
2. In that new directory, I do "Create Repository here".
3. I tell my Apache that this subversion repository is there using the
    following Location:
        <Location /sandbox>
                DAV svn
                SVNPath C:/Tada/svn/sandbox
                AuthType Basic
                AuthName "Subversion sandbox repository"
                AuthUserFile C:/Tada/etc/svn.auth
                Require valid-user
        </Location>
4. I restart my Apache service.
5. I create another directory "foo" (nowhere near the first one).
6. I unzip the file from my original posting on this thread into "foo".
7. I use TortoiseSVN to do "import" and choose the http location that
    points to my "sandbox". The import reports that files are added and
    it commits.
8. I create directory "bar".
9. I checkout the sandbox/trunk into "bar".

Now, if I compare the two
se.tada.util\src\se\tada\util\printf\DecimalFloatFormat.java files, one
from "foo" and one from "bar", I can see that the one in "bar" is
corrupted. The two files are attached.

I hope this helps.

> Oh, and you might be better off reporting that on the Subversion mailing
> list. TSVN doesn't touch the files directly at all - all that is handled
> by the Subversion library. But don't forget to mention what makes those
> files different - maybe it's just some misconfiguration...
>
The reason I report it here is that it just happens when I use
TortoiseSVN to do the actual import. If I use "svn import" everything
works OK.

Regards,
Thomas Hallgren

package se.tada.util.printf;

public class DecimalFloatFormat extends FloatFormat
{
        private static final long serialVersionUID = 708307857310259305L;

        public DecimalFloatFormat(int prefixType, boolean sharp)
        {
                supegtprefixType, sharph:false);
        }

        protected String makeString(long mantissa, int exponent, int precision)
        {
                return makeDecString(mantissa, exponent, precisionh:false);
        }
}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Thu Nov 18 11:23:06 2004

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

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