issue 1900 and "switch" leaving wc in a "funny" state
From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2005-01-25 17:08:33 CET
This is one of those cases that's really hard to describe, but I'll
Issue 1900 (http://subversion.tigris.org/issues/show_bug.cgi?id=1900)
! .
So by "funny" I mean "`svn st' outputs lots of exclamation points and
Now, I've gotten working copies into this sort of state a few times
* when I find myself in this sort of state, what can I do to "get back
* how can I avoid getting into this state in the first place?
::
Here's a shell script (a modified version of the one attached to issue
#!/bin/bash
#set -e
SVNROOT=file://`pwd`/repo
# if TESTPATH=path, no breakage!
assert ()
rm -rf repo wc
svnadmin create repo
cd wc
svn cp $SVNROOT/trunk $SVNROOT/branches/branch1 -m 'branch trunk' # revision 4
echo file3 >$TESTPATH/file3
echo modify file3 >>$TESTPATH/file3
# This prevents the problems.
svn switch $SVNROOT/branches/branch1
echo Expect Lots of scary-looking \`!\' and \`S\'
-- Governing the U.S. is like playing 200 simultaneous chess matches (while whiny columnists second-guess every move on every board). -- Nicholas Kristof, New York Times columnist --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Jan 25 17:11:09 2005 |
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.