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

replace and revert issue with SVN client

From: Ben Wagner <bwagner_at_itasoftware.com>
Date: Wed, 20 Feb 2008 15:05:29 -0500

Hi,

I am posting to this list to follow the "Buddy System" for filing new
bugs, following the instructions on this page:
http://subversion.tigris.org/project_issues.html

Below is a transcript of the issue that I am seeing. The bug seems to
happen after a sequence like this:
svn rm foo.txt
svn cp -r 157170 $REPO_PATH/foo.txt foo.txt
svn revert foo.txt

After this, I would expect foo.txt to be back to the state of my last
checkout, but it seems that any modifications that I make can not be
committed.

Do you agree that this is a bug?

Thanks,
Ben

[/tmp]> echo $REPO_PATH
svn+ssh://svn.my.server.com/path/to/test
[/tmp]> svn co $REPO_PATH
Checked out revision 157167.
[/tmp]> cd test
[/tmp/test]> echo foo > foo.txt
[/tmp/test]> svn add foo.txt
A foo.txt
[/tmp/test]> svn ci -m "test"
Adding foo.txt
Transmitting file data .
Committed revision 157169.
[/tmp/test]> echo bar > foo.txt
[/tmp/test]> svn ci -m "test"
Sending foo.txt
Transmitting file data .
Committed revision 157171.
[/tmp/test]> svn rm foo.txt
D foo.txt
[/tmp/test]> svn cp -r 157170 $REPO_PATH/foo.txt foo.txt
A foo.txt
[/tmp/test]> svn revert foo.txt
Reverted 'foo.txt'
[/tmp/test]> echo baz > foo.txt
[/tmp/test]> svn ci -m "test"
Sending foo.txt
Transmitting file data .svn: Commit failed (details follow):
svn: Checksum mismatch for '/tmp/test/.svn/text-base/foo.txt.svn-base';
expected 'd3b07384d113edec49eaa6238ad5ff00', actual:
'c157a79031e1c40f85931829bc5fc552'
exit status: 1
[/tmp/test]> svn --version
svn, version 1.4.4 (r25188)
    compiled Jun 15 2007, 15:53:52

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-20 21:24:56 CET

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.