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

svn add fails with directory is already under version control

From: <mark.durman_at_esbsupport.com>
Date: Sun, 25 Jan 2009 18:15:22 -0800 (PST)

I'm using Subversion as my repository and Ant as my build/test tool.

My Ant build deletes certain subdirectories (bin, classes, etc.), creates new, empty versions of those subdirectories, then compiles the java code. The resulting binaries end up in the bin subdirectory, the classes in the classes subdirectory, etc.

I add the dirs and files, then commit the changes to Subversion.

I run the build script again, which goes through the same process.

This time, when I attempt to check files in, svn add failes with a message that the directories are already under version control.

This seems like a standard build life-cycle to me. Am I doing something wrong, or misunderstanding how svn works?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1052885

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 21:16:14 CET

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.