[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 15:19:34 CET

SteveKing,
> Sorry, but no matter what I do, I can't see those differences!
> Oh, I see: you've sent the bad file twice...
>
No, the mail contains one good file and one bad file. I've verified it
once again. This is really crazy! Do the following please:

1. Create an empty direcory.
2. Open the mail with the two attached files.
3. Save both files in the new directory.
4. Cd to that director.
5. Run diff DecimalFloatFormat.java DecimalFloatFormat.java.corrupt

When I do that, and I mean *exactly* that. I get the following diff.
9c9
< super(prefixType, sharp, false);

---
 >               supegtprefixType, sharph:false);
14c14
<               return makeDecString(mantissa, exponent, precision, false);
---
 >               return makeDecString(mantissa, exponent, precisionh:false);
16c16
< }
\ No newline at end of file
---
> I've read that mail. And yes, you tell that you're using Subversion
> 1.1.0 on the server. But did you try the import command with the
> client version 1.1.0 too? I mean you have to do a 'svn --version' to
> make sure that you don't accidentally use an older version which
> resides somewhere in your PATH.
> 
I'm doing everything on one and the same machine and I only have one 
subversion and one tortoisesvn installed. The reason I'm using http is 
for later use from remote locations.
> Don't get me wrong here. I really think that this shouldn't happen and
> is a serious bug (if it's reproducable of course). But something is
> very strange about your report which just doesn't make much sense:
> - it works with the CL client, but not with TSVN
> - TSVN uses the Subversion API and doesn't even _touch_ the files to
> import and checkout from. So if it doesn't work with TSVN it shouldn't
> work with the CL client either.
Fact remains. If I do a svn import, it works. If I do the import using 
TSVN, it doesn't.
> - I tried your recipe with file:/// access instead of http like you
> did, and couldn't reproduce the behaviour.
> 
Neither can I. It works for me too when I use file:/// access.
> hmmm - did you install the CL client with the setup.exe program or did
> you use the zip file version of it? If the latter, did you set the
> APR_ICONV_PATH variable to point to the iconv directory?
 >
I used the installer and I haven't touched any settings of ARP_ICONV_PATH.
> If the APR_ICONV_PATH isn't set correctly for both the CL client _and_
> the server, then I think you could experience the problems you're
> describing here.
> 
I only have one machine but perhaps it's possible that the svn module 
spawned by Apache is incorrectly setup somehow? But if so, why is only 
TSVN failing?
- thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 18 15:36:29 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.