Reputation: 643
I am using svn commandline and i want to ignore few files from getting updated in my working copy. I tried svn proset svn:ignore -F file.txt .
, it says "property 'svn:ignore' set on '.'
", still when i update it updates all the files. however it works fine with tortoisesvn, but i need it for a linux machine hence looking for an commandline option to achieve it.
Upvotes: 2
Views: 2426
Reputation: 643
As there aren't any direct way thru SVN, created a script to achieve the same.
Upvotes: 0
Reputation: 28144
You cannot ignore a file that is versioned.
If you want to ignore specific items when updating, you need to explicitly tell svn which items you do want updated.
For example, if you have files A through E, but want to ignore the consonants when updating, you have to do this:
svn update A E
Upvotes: 1
Reputation: 821
I'm not sure how it appears to work with tortoise, but svn:ignore does not affect the svn update command. You can look here for some other options: Ignore a folder during SVN updates
Upvotes: 2