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

Re: Messed up WC after switch (SVN 1.2.3)

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2005-12-01 19:14:57 CET

>>>>> "Matt" == Matt Doran <matt.doran@papercut.biz> writes:

    Matt> Could someone explain how I could avoid this situation in
    Matt> the future.... and resolve it if it happens again?

Here's what I often do: after checking in, and before switching, I
delete every file that isn't under subversion's control, like this:

        svn status --no-ignore . | egrep '^(\?|I)' | cut -c8- | xargs rm -rf

    Matt> In the very least the initial error that is displayed could
    Matt> be improved

In my experience, misleading error messages are the single worst thing
about subversion.

-- 
Keaton, Chaplin, Garbo - let them now make room for Gromit.
        A. O. Scott, in The New York Times
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 1 19:44:11 2005

This is an archived mail posted to the Subversion Users mailing list.