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

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

From: Frank Leischnig <frank.leischnig_at_vialux.de>
Date: 2007-08-10 13:15:19 CEST

Hello,

We have probably found a bug - please see below.

Additional information according to the "Reporting Bugs in Subversion How
To":
Operating System: WinXP SP2
Release/Revision: svn 1.4.2 (r22196)
Build information: (binary package from subversion.tigris.org)
No private modifications.
Use of FSFS.

Michael has reproduced the problem on
Operating System: svn, Version 1.4.4 (r25188) on Linux (Kubuntu)

When you confirm that this is a bug, could please someone (not me) add it to
the issue tracker?
Do you need further information from me?

Best regards,

Frank

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Michael J Gruber
> Sent: Friday, August 10, 2007 12:58 PM
> To: users@subversion.tigris.org
> Subject: Re: Bug? Reverting replaced files does not revert
> checksum in .svn/entries
>
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 10 13:13:26 2007

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

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