Svn: ignore the turtle

When I add something to the svn: ignore entry, is it stored in the repository or in my local copy?

(In Tortoise, why do the addet elements for svn: ignore appear in my changelist?)

+7
svn tortoisesvn
source share
4 answers

It is stored in the repository along with all other properties. This also explains why they are on the change list: because you are changing it.

+5
source share

Since you use TortoiseSVN and always want to ignore it only locally, right-click the file in the commit dialog and "Move to Changelist → ignore-on-commit". This is just a list of changes that Tortoise supports specifically for the purpose you are describing. You can also simply add an item to another list of changes and choose to never commit it.

+6
source share

Ignoring an element consists of setting the svn:ignore property in the parent folder with the name (or wildcard) of the element. Look at the "Properties" context menu in the folder and you will find it there. Like everything else, these changes are local until you commit them. In this case, you make changes to the parent folder. You can also revert them if you have not done them yet.

It is important to note that this does not remove the item from the repository or working copy. If the item was already under version control, it will remain there until you become its delete .

The function of changing lists, by contrast, is completely local. However, you need to add the version control to move it to the change list; change lists cannot handle untranslated items.

You can tell TortoiseSVN to automatically ignore some file templates. Open the "Preferences" dialog, find the "General" section and edit the "Global ignore pattern" input field. However, these settings apply to all repositories. If you want to ignore certain files, it might be better to add them and move them to the ignore-on-commit change list.

+1
source share

What you are looking for is a global ignore pattern . This will only affect your working copies. I use this to ignore temporary Emacs files, as not everyone uses Emacs.

0
source share

All Articles