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