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'?
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: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 19 17:07:05 2007