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

Directory under version control or not?

From: Jonatan <jonatan_at_wineasy.se>
Date: 2004-03-27 03:52:16 CET

I just ran into a situation where the working copy seems to get
confused about whether a directory is scheduled for addition or not.
'svn st' says it isn't (at least that's how I understand the "?"
symbol), but when you try to 'svn add' it you get an error message
about it already being under version control. The following example
illustrates this:

svnadmin create repo
svn co file://`pwd`/repo wc
cd wc
svn mkdir dir1
cp -R dir1 dir2
svn add dir2
>>> svn: warning: 'dir2' is already under version control
svn st
>>> ? dir2
>>> A dir1

(I'm using Subversion 1.0.1.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 27 03:52:18 2004

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