You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Frank Leischnig <fr...@vialux.de> on 2007/08/10 07:45:37 UTC
Bug? Reverting replaced files does not revert checksum in .svn/entries
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
Thanks
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Bug? Reverting replaced files does not revert checksum in .svn/entries
Posted by Michael J Gruber <mi...@fastmail.fm>.
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