Bug? svn revert does not forget past scheduled deletion of directories
From: Clemens <clemens.hintze_at_thalesgroup.com>
Date: 2007-06-20 09:42:26 CEST
Hello,
it seems, that 'svn revert' does not totally get rid of information of a
# First create a repos to play with
# Now create the structure necessary to demonstrate the problem
Committed revision 1.
Committed revision 2.
# Get a fresh working copy of the above
# Now the game begin
# Remove (accidentally) a directory under svn's control
# Ask 'svn' and get the information, that you messed with the contents
svn st
# Okay back-up and check if all is like before ...
svn revert .
# 'svn revert' didn't work as was to be expected by documentation!
svn update .
# Yay! All okay, as I never did anything wrong ... :-)
svn delete dir
# Nice! All as I have expected. But now I change my mind and 'revert'
svn revert dir
# Okay 'svn st' did not find any modification. All as it was before.
rm -rf dir
# NAAAHHHH!!! What's that? Auto-scheduled deletion. Nay nay nay :-(
In summary, if I remove a directory that is under Subversion's control
But only as long as I *never* did schedule said directory to be deleted
I think, that is a bug, as it is different for deleted-and-then-reverted
What do you think?
Ciao,
---------------------------------------------------------------------
|
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.