On 10.08.10 13:51, Arp Laht wrote:
> If a build script has introduced copies of ".java" files from "src"
> into the "build" directory tree (e.g. "Main.java" has got copied from
> "src/mobile/Main.java" to "build/mobile/Main.java") then, if I examine
> the "build" directory's content with a TortoiseSVN-enabled instance
> of Windows Explorer, the following can be seen:
>
> 1) TortoiseSVN shows these files in the "build" directory,
> (of which another copy in the "src" directory really is version-controlled)
> to be likewise version-controlled. It displays them with a green "in sync"
> icon, and offers a context menu with SVN operation for them.
>
> 2) If I should mistakenly use the TortoiseSVN "Delete" command
> on such a file, what gets actually deleted from the repository server,
> is the corresponding file from the "src" directory, which definitely
> should not happen.
You wouldn't happen to be using Eclipse or some other Java IDE that
randomly copies stuff from your source tree to your build directory?
Because if it copies the hidden .svn folders that store the metadata for
a versioned folder from src to build you need to prevent it from doing
that...
With Eclipse you'd have to either define an exception rule somewhere or
(probably easier) install a SVN client add-on for Eclipse (like
subclipse), as that of course also has to prevent the build process from
mucking with the .svn folders - search the list archives for more
discussion of this problem.
Long story short: No, it's not a bug (in (T)SVN, anyway), but it'll go
away in 1.7 anyway when subversion moves from an .svn folder in each
versioned directory to a single metadata folder in the working copy root.
--
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2645213
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-10 14:22:29 CEST