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

SVN status and diff showing no modifications (svn 1.4.4 (r25188))

From: Archie Cobbs <archie_at_dellroad.org>
Date: Wed, 7 May 2008 10:17:43 -0500

I have found an apparent bug, but don't see it in the bug database.

This is probably because I'm not searching correctly because it's hard to
believe this bug has not been found already.

In any case, here is the test script:



set -e
rm -rf repo checkout
echo '*** Creating repository'
svnadmin create repo
echo '*** Checking out repository'
svn co "${REPO_URL}" checkout
cd checkout/
echo '*** Adding files'
svn mkdir trunk
svn mkdir trunk/dir1
echo '$Id$'> trunk/dir1/file1.txt
svn add trunk/dir1/file1.txt
svn ps svn:keywords Id trunk/dir1/file1.txt
svn commit -m r1
echo '*** Contents of file1.txt before change'
cat trunk/dir1/file1.txt
echo '*** Making a change'
echo foobar >> trunk/dir1/file1.txt
echo '*** Contents of file1.txt after change'
cat trunk/dir1/file1.txt
echo '*** Showing status'
svn status trunk/dir1/file1.txt
echo '*** Showing diff'
svn diff trunk/dir1/file1.txt

The bug is that after the script runs, file1.txt is modified but neither
"svn diff" nor "svn status" thinks it is. Here is the output on my machine
(SuSE 10.3, svn 1.4.4 (r25188)):

*** Creating repository
*** Checking out repository
Checked out revision 0.
*** Adding files
A trunk
A trunk/dir1
A trunk/dir1/file1.txt
property 'svn:keywords' set on 'trunk/dir1/file1.txt'
Adding trunk
Adding trunk/dir1
Adding trunk/dir1/file1.txt
Transmitting file data .
Committed revision 1.
*** Contents of file1.txt before change
$Id: file1.txt 1 2008-05-07 15:12:29Z archie $
*** Making a change
*** Contents of file1.txt after change
$Id: file1.txt 1 2008-05-07 15:12:29Z archie $
*** Showing status
*** Showing diff

Could someone verify this bug for me so I can file it (or point me at the
already-created bug)?


Archie L. Cobbs
Received on 2008-05-07 17:18:11 CEST

This is an archived mail posted to the Subversion Users mailing list.

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