commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [Math] Problem with svn
Date Wed, 26 Oct 2011 18:16:43 GMT
On 10/26/11 11:06 AM, Gilles Sadowski wrote:
> Hi.
>>> Trying to commit a few files, I get this error:
>>> ---CUT---
>>> Sending
>>> src/main/java/org/apache/commons/math/analysis/integration/
>>> Sending src/main/java/org/apache/commons/math/geometry/euclidean/threed/
>>> Sending src/main/java/org/apache/commons/math/linear/
>>> svn: Commit failed (details follow):
>>> svn: File or directory 'main/java/org/apache/commons/math/linear/'
is out of date; try updating
>>> svn: resource out of date; try updating
>>> svn: Your commit message was left in a temporary file:
>>> svn:    '/home/gilles/devel/SVN/commons-math/trunk/svn-commit.2.tmp'
>>> ---CUT---
>>> I've been trying more than 15 times, with the same error.
>>> Obviously, I did "svn up" (almost as many times).
>>> As suggested on the web, I removed all files name "all-wcprops" in the ".svn"
>>> directories.
>>> I tried from a different machine.
>>> I also deleted the whole working copy and did "svn co".
>>> I upgrade "subversion" to version 1.6.17.
>>> All to no avail.
>>> Do you have an idea about possible causes and remedies?
>>> I can also send a tar ball with the modified files. Could someone try to
>>> commit them from his side? Or have a look at the files?
>> Interesting.  Usually means what the message indicates - the working
>> copy is out of date.
> Cannot be out of date a few seconds after "svn up"...
> In my experience, subversion messages do not mean what they say, and the
> suggested solution does not work. :-/
> [Also, the fact that people got a similar issue resolved by deleting some of
> subversion's files is not conforting.]
>> Try doing "svn cleanup" from the checkout.
> I forgot to mention, but I did that too.
>> If
>> that doesn't work, upload a tarball to your home directory and I
>> will grab it and see if I can figure out what is going on.
> Thanks, it's in directory "/home/erans".
>> After
>> you did a clean checkout, how did you recreate the changed files?
> I extracted them from the tar file.

I will grab the files and have a look.  It could be that the problem
has to do with svn props, which were changed in the last commit on
those files.  When you overwrite them with "old" versions, the line
endings get changed and that may be causing the problem.  Could be
you will have to manually re-apply whatever changes you are making
to those files instead of just overwriting.
>> Does svn diff look right after the changes?
> Yes, it shows the changes which I'm trying to commit (MATH-689):
> Substitution of "MathUtils." with "Precision.".
> The commit stops at the third file: "". When I tried
> to skip that file, it stopped at "".

Let me have a look...

> Regards,
> Gilles
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message