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

Re: Out of date errors just after a revert

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2004-09-10 09:15:45 CEST

C. Michael Pilato schrieb:

> "Eric S. Raymond" <esr@snark.thyrsus.com> writes:
>
>
>>Isn't revert supposed to refresh the baseline copy? How can it be
>>out of date at that point?
>
>
> Revert simply rebuilds the working from from the pristine text-base in
> the .svn directory.
Is that really true? A colleague managed to scrap his woking copy by
doing the following.
- svn up -> so there are no uncommitted changes.
- "svn add foo" a folder inside his working copy
- suddenly notice that there was a subfolder (foo/bar), that he didn't
want to add.
- "svn revert ."
- remove the annyoing subfolder (bar)
- retry to add foo -> "svn: warning: 'foo' is already under version control"
- "svn ci" -> "Working copy 'D:/TESTPR~1/xxx/foo/bar' not locked"
- "svn cleanup" -> no comment

D:\TESTPR~1\xxx>svn st
A foo
! foo\bar

now he can't get rid of foo and bar anymore. The only solution we found
was to to a fresh checkout and start from scratch.

Cheers
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 10 09:16:15 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.