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

RE: Add files to work copy - ignoring file types for versioning does not function

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Mon, 12 Apr 2010 11:22:25 -0400

> Thanks for your answers.
>
> @ Andy
>
> > Did you select Apply Recursively? Properties are not inherited from
> > parent directories.
>
> Yes I did, but, how I now noticed, this only functions when the files
> and folders are already controlled by svn!

Correct. That's why I said add the folders first. Of course, in the commit dialog you can right click on any folders that you don't have the property on an add it.

> @Bob
>
> > Once you have done this run your add again and it should ignore the
> files.
>
> If this would function, this would be a nice way to do it. But If try
> "add" again on the toppest folder, the dialog box says that all files
> are already under version control.

Well sure. ADD only adds non-versioned files. But, you don't have to click on EVERY file. Just click on the folder that they are in and add the *.exe (or whatever) ignore.

> I dont want global ignores.
>
> Doesnt every developer have binaries etc. that should not be
> controlled? I have 5 folders to add to the workcopy, each including
> some code-files to be versioned,
> and also containing the folders "bin", "obj" and some ".save" files
> etc. form the IDE which should not be included for version control.

I guess so. In visual studio all these files are put into a obj and bin folder. I have just ignored those folders... which ignores all their contents.

> I think there must be an easy way to solve this quite "normal"
> problem...

As said above. The easy way is to add the property to the root folder of your WC and tell TSVN to apply it recursively. Or, just apply it to the folder where these files will occur.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2574587

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-12 17:22:21 CEST

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

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