On Mon, Mar 19, 2012 at 12:26 PM, Geoff Hoffman
<ghoff...@cardinalpath.com> wrote:
> I ran into an unexpected behavior with svn:ignore today and wanted to see if
> someone can verify whether this is a bug (in the current version) or just an
> aspect of how Subversion works. We're still on 1.6x.
>
> Given a tree with
>
> trunk
>    + cache
>    + htdocs
>    + logs
>    + system
>
> I have tried putting
>
> cd trunk
> svn propset svn:ignore logs/* .
>
> ...ignore everything in the logs directory, but the svn:ignore propset is on
> trunk.
>  This doesn't work -- that is, log files are not ignored as expected, but
> shown as new files when running the project and svn status
>
> However,
>
> cd logs
> svn propset svn:ignore * .
>
> ...setting svn:ignore * on logs, works.

That is exactly how the feature is supposed to work.  Described in book here:

http://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.ignore.html


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Reply via email to