Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > strange undo failure

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

strange undo failure

Author vchepkov
Full name Vadym Chepkov
Date 2009-11-11 22:34:50 PST
Message Hi,

I stumbled on a strange bug/feature I can't explain.
$ svn --version
svn, version 1.6.6 (r40053)

First, create repository and make multiple simple commits:

$ svnadmin create testrepo
$ svn co file:///`pwd`/testrepo test
Checked out revision 0.
$ cd test
$ touch README
$ svn add README
A README
$ for i in `seq 1 10` ; do echo $i >> README ; svn commit -m $i ; done >/dev/null
$ svn up
At revision 10.
$ cat README
1
2
3
4
5
6
7
8
9
10

Now, if I undo change number 5, I expect line 5 to disappear.
But it's not the case:
$ svn merge --dry-run -c -5 ^/
--- Reverse-merging r5 into '.':
C README
Summary of conflicts:
  Text conflicts: 1

I can't understand, why?


Sincerely yours,
  Vadym Chepkov

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

strange undo failure vchepkov Vadym Chepkov 2009-11-11 22:34:50 PST
     RE: strange undo failure pilotbob Bob Archer 2009-11-12 07:10:03 PST
         RE: strange undo failure vchepkov Vadym Chepkov 2009-11-12 08:03:06 PST
             Re: strange undo failure ryandesign Ryan Schmidt 2009-11-12 08:39:41 PST
Messages per page: