# Re: [TSVN] Re: Content corruption during import

From: SteveKing <stefankueng_at_gmail.com>
Date: 2004-11-18 13:07:06 CET

On Thu, 18 Nov 2004 10:42:04 +0100, Thomas Hallgren <thhal@tigris.org> wrote:
> 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
> AuthType Basic
> AuthName "Subversion sandbox repository"
> 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".

I just tried the same, but with file:/// instead of http.
The files are exactly the same, as I would expect.

> Now, if I compare the two
> from "foo" and one from "bar", I can see that the one in "bar" is
> corrupted. The two files are attached.

Now: first thanks for the files. But couldn't you just say that one
file has an additional newline at the end? That would have been much
diff program, load both files in there and compare them myself. I mean
you already knew what was corrupted, so why not just tell us that
instead of making us a lot of unnecessary work?

> I hope this helps.

Not really. If file:/// works, but http:// doesn't (haven't tried http
yet), then it's definitely not TSVN's fault.

> 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.

Are you using the same version? I mean if you're using TSVN1.1.0 then
you have to use the CL-client version 1.1.0 too.

/me thinking: do you have any auto-props set in your configuration file?

Stefan

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org