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

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

From: Michael J Gruber <michaeljgruber+gmane_at_fastmail.fm>
Date: 2007-08-10 12:57:59 CEST

Frank Leischnig venit, vidit, dixit 10.08.2007 09:45:
> Hello,
>
> I think that we found a bug, but I do not know if it has already been
> solved.
> 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.
>
> d:
> 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
>
> pause

Same here:
svn, Version 1.4.4 (r25188) on Linux (Kubuntu)

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 12:56:27 2007

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