Problems with 'Ignore'
Posted: Thu Dec 17, 2009 1:35 pm
1 - I have a single code file that needs to be in the repository and working copy. But, when the local copy changes should NOT alter the repository version. In other words I need SVN to ignore the changes and protect the repository version.
2 - Having said that - at some point I may need to update the repository version so some sort of override would be useful.
When I first added the file in the working copy and went to commit my new code I marked the file as 'svn:ignore'. Made the commit. But the new file did not get placed into the repository. (I read here that only unversioned files can be set to ignore). So now the file is NOT in the repository and any attempt to add it again fails.
I guess the first question is - can I undo the ignore setting which clearly was the wrong command to use.
And the second question is - is it possible to achieve what I need to achieve in 1 and - hopefully 2 above?
Thanks
2 - Having said that - at some point I may need to update the repository version so some sort of override would be useful.
When I first added the file in the working copy and went to commit my new code I marked the file as 'svn:ignore'. Made the commit. But the new file did not get placed into the repository. (I read here that only unversioned files can be set to ignore). So now the file is NOT in the repository and any attempt to add it again fails.
I guess the first question is - can I undo the ignore setting which clearly was the wrong command to use.
And the second question is - is it possible to achieve what I need to achieve in 1 and - hopefully 2 above?
Thanks