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

Re: Quirk with svn:ignore

From: Giulio Troccoli <giulio.troccoli_at_mediatelgroup.co.uk>
Date: Mon, 19 Mar 2012 16:32:29 +0000

On 19/03/12 16:26, Geoff Hoffman 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
>

Do you mean that the files are shown with an A in the first column? If
so, I don't think Subversion should ignore something that has been
specifically added. Try to revert the addition, svn revert --depth
infinity logs, and then set the svn:ignore property again.

Giulio
Received on 2012-03-19 17:33:04 CET

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.