[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 09:59:09 -0400

> Add files to work copy - ignoring file types for versioning does not
> function
>
> Hello,
>
>
> I created a local repository for test issues.
> I checked out a work copy on a folder.
> Then I wanted to add files to this folder.
> So I copied them there (files and folders with further folders and files).
> Now I want to add these files for versioning, excluding files like *.obj,
> *.exe etc.
> So I went to the properties of the toppest folder in the work copy and
> added a "svn:ignore" item, with the following content:
>
> *.obj
> *.exe
>
> Then I selected "TortoiseSVN" -> "add" on the work copy folder.
> But in the window which appeared ALL files were shown...
> Why?? What did I do wrong?

Where these files in subfolders or all in the top level folders. Properties are not recursive in svn... so an ignore on the root folder will not ignore files in subfolders.

What you can do is add all your folders. Then add the svn ignore and there is a check box to make it "recursive". Basically tsvn just adds the property to ever existing subfolder. Once you have done this run your add again and it should ignore the files.

Another option is to create global ignores. This will apply to ALL of your working copies on your machine.

 
> I noticed that they are only not shown if I select "ignore" -> "*.exe" on
> each file seperately.
> When I want to do this with files which are in a folder I added (e.g.
> "file.exe" in  "WORKCOPY/FOLDER/file.exe"),
> the "ignore"-option isnt even shown.
>
> Another thing: Is it wrong to add files to a work copy by drag&drop?
> I read in the documentary to right-drag files, but when I tried to, the
> following error message occured:
> "Couldnt copy files. Access denied"

Use right-drag when you are mvogin files within a working copy. If you just want to move files into a working copy, then regular drag-drop operations are fine.

BOb

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-12 15:57:50 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.