Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make svn ignore unversion files only in my working copy?

Tags:

svn

duplicate: Ignore SVN ignore... possible?


Suppose my working copy is littered with unversioned files that I don't want to delete. I want svn to ignore these files, but I do not want to add them to the ignore list, because I don't want to pollute other people's working copy with my ignore list. Is this possible in svn?

Clarification: I'm not sure why, but people keep advising me to edit my global configs; however, this is not what I'm what I'm looking for. What I want to do is target specific files in a particular working copy. Is this even possible??

like image 428
allyourcode Avatar asked Jul 18 '09 00:07

allyourcode


People also ask

How do I set property to ignore in svn?

Use the following command to create a list not under version control files. Then edit the file to leave just the files you want actually to ignore. Then use this one to ignore the files listed in the file: svn propset svn:ignore -F ignoring.

What file should svn ignore while doing development?

First, you must ignore the build folder.

How do I ignore bin and obj folder in svn?

You could add bin folder to ignore list. Right click on the bin folder -> TortoiseSVN -> Unversion and add to ignore list -> bin.


1 Answers

Yes, the user configuration file can contain the global-ignores option which is exactly what you're looking for.

The location of this file varies by platform. From the documentation:

On Unix-like systems, this area appears as a directory named .subversion in the user's home directory. On Win32 systems, Subversion creates a folder named Subversion, typically inside the Application Data area of the user's profile directory (which, by the way, is usually a hidden directory). However, on this platform the exact location differs from system to system, and is dictated by the Windows registry.

like image 109
Greg Hewgill Avatar answered Oct 16 '22 03:10

Greg Hewgill