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

Bug? Reverting replaced files does not revert checksum in .svn/entries

From: Frank Leischnig <frank.leischnig_at_vialux.de>
Date: 2007-08-10 09:45:37 CEST


I think that we found a bug, but I do not know if it has already been
So I also do not know if to send it to the subversion issue tracking system.
Can someone help?

I am using svn 1.4.2 (r22196) on Windows.
Can someone please run the script below on another (current) version?

Problem description in short:
- one file is replaced by another versioned file (add with history)
- the file is reverted
- the file is modified
- commit of the file fails

Here is a batch file to reproduce the bug.

        cd d:\data\SVN
        rd /q /s repos
        rd /q /s wc

        svnadmin create repos
        svn co file:///D:/Data/SVN/repos wc

        echo file1 > wc\file1.txt
        echo file2 > wc\file2.txt
        svn add wc/file?.txt

        svn ci wc -m "Initial commit"
        svn del wc/file2.txt

        svn cp wc/file1.txt wc/file2.txt
        echo ... Look at wc/_svn/entries: Checksum of file1.txt = Checksum
of file2.txt
        echo Ok.

        svn revert wc -R
        echo ... Look at wc/_svn/entries: Checksum of file1.txt = Checksum
of file2.txt
        echo Bug.

        echo change of file2 >> wc\file2.txt
        svn ci wc -m "Change file2"
        echo Failiure: Base checksum different




To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 09:43:55 2007

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.