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

Re: Directory under version control or not?

From: Tom Mornini <tmornini_at_infomania.com>
Date: 2004-03-27 04:54:56 CET

On Mar 26, 2004, at 6:52 PM, Jonatan wrote:

> 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.)

I think the issue here is that you're copying the enclosed .svn
directories when making dir2.

I don't think you'll have an issue if you mkdir dir2 and then svn add
it.

-- 
-- Tom Mornini
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 27 04:55:17 2004

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.