You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Frank Leischnig <fr...@vialux.de> on 2007/08/10 11:15:19 UTC

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

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

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

Posted by Frank Leischnig <fr...@vialux.de>.
 

> -----Original Message-----
> From: Erik Huelsmann [mailto:ehuels@gmail.com] 
> Sent: Friday, August 10, 2007 1:50 PM
> To: Frank Leischnig
> Cc: dev@subversion.tigris.org
> Subject: Re: FW: Bug? Reverting replaced files does not 
> revert checksum in .svn/entries
> 
> On 8/10/07, Frank Leischnig <fr...@vialux.de> wrote:
> > 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?
> 
> No, the above report (with reproduction recipe) is alright. 
> Could you please file a bug and have the URL field point to 
> this mail thread in the archive?



Yes, I am going to try it.

Bye,
Frank.



> 
> Thanks!
> 
> bye,
> 
> Erik.
> 
> > > -----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
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

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

Posted by Erik Huelsmann <eh...@gmail.com>.
On 8/10/07, Frank Leischnig <fr...@vialux.de> wrote:
> 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?

No, the above report (with reproduction recipe) is alright. Could you
please file a bug and have the URL field point to this mail thread in
the archive?

Thanks!

bye,

Erik.

> > -----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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org