Re: svn:ignore not working completely
On 4/19/07, Dirk van Oosterbosch, IR labs <email@example.com> wrote:
> 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
> % 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
> 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
> What should I be doing to make those files no show up with 'svn status'?
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.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Thu Apr 19 17:07:05 2007
This is an archived mail posted to the Subversion Users