[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:ignore not working completely

From: Dirk van Oosterbosch, IR labs <labs_at_ixopusada.com>
Date: 2007-04-19 17:54:26 CEST

Well, I thought I tried that before. I tried it again now but it does
*more* harm! :-(

% cat ~/Projects/Labsite/ignore_list_templates
python/templates/*.bak
python/templates/*.pyc

% svn propset svn:ignore -F ~/Projects/Labsite/ignore_list_templates
python/templates
property 'svn:ignore' set on 'python/templates'

% svn status
? python/LocalConf.py
? python/LabSite_wwwPython.tmproj
? python/templates/group.py.bak
? python/templates/FrameworkViewComponents.py.bak
? python/templates/externallink.py.bak
? python/templates/item.pyc
? python/templates/project.py.bak
? python/templates/poster.py.bak
? python/templates/object.pyc
...
? python/templates/project.pyc
? python/templates/file.py.bak
? python/templates/book.py.bak
? python/templates/gadget.py.bak
M python/templates
? styles/images.zip
? styles/styles.tmproj

Now also all my *bak files are no longer ignored.
How I can revert this last 'propset svn:ignore' statement?

Or what am I missing here?
Thanks
d

On 19-apr-2007, at 17:06, Andy Levy wrote:

> svn:ignore doesn't apply recursively IIRC - it's only set on the
> current directory. So you need to go into python/templates and set
> svn:ignore *.pyc (for example) on that directory.
>

> On 4/19/07, Dirk van Oosterbosch, IR labs <labs@ixopusada.com> wrote:
>
>> Hi
>>
>> A subversion-newbie here. I recently set up my svn system, but
>> can't work
>> out why some svn:ignore settings do not result in svn status
>> ignoring them.
>> They keep showing in svn status as '?' (unversioned file).
>>
>>
>> What I am doing is the following (from the command line):
>>
>> % cat ~/Projects/Labsite/ignore_list
>> mod_python_test/*
>> mod_python_test
>> styles/*.tmproj
>> styles/images.zip
>> portfolio/rietveld/testimage_*
>> python/*.tmproj
>> python/LocalConf.py
>> python/*.pyc
>> python/templates/*.bak
>> python/templates/*.pyc
>> python/admin/*.pyc
>> python/error/*.pyc
>>
>> % svn propset svn:ignore -F ~/Projects/Labsite/ignore_list .
>> property 'svn:ignore' set on '.'
>>
>> % svn status
>> ? python/LocalConf.py
>> ? python/LabSite_wwwPython.tmproj
>> ? python/templates/item.pyc
>> ? python/templates/object.pyc
>> ? python/templates/page.pyc
>> ? python/templates/collection.pyc
>> ? python/templates/poster.pyc
>> ? python/templates/BaseSkeleton.pyc
>> ? python/templates/cluster.pyc
>> ? python/templates/article.pyc
>> ? python/templates/FrameworkViewComponents.pyc
>> ? python/templates/project.pyc
>> ? styles/images.zip
>> ? styles/styles.tmproj
>>
>>
>> My problem is that I would like the result of 'svn status' to be
>> empty.
>>
>> The strange thing is only *some* of the files I want to ignore,
>> keep showing
>> in 'svn status'. I.e the command 'svn status --no-ignore' also
>> shows a whole
>> list of files with the proper 'I' status. However I couldn't
>> figure out what
>> the difference was between those file and the ones listed above
>> under 'svn
>> status'.
>> Also the more I seem to try set more svn:ignore statements, the
>> more files
>> loose their ignore-status.
>>
>> How does the svn:ignore system is suppose to work? What could I be
>> doing
>> wrong?
>> What should I be doing to make those files no show up with 'svn
>> status'?
Received on Thu Apr 19 17:55:01 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.