« Return to Thread: Ignoring files and directory
Ryan Schmidt-19 wrote:On Jan 11, 2007, at 23:28, lightbulb432 wrote:
> If I'd like to have a directory with some files in it completely
> ignored when
> I do a general svn commit or other command, where would I set
> svn:ignore? On
> the project, on the directory, on both files, or elsewhere?
>
> What would I set the value of that property to be...would it
> include the
> name of the directory and the files, or just the directory (which
> would then
> include all files within it)?
Let's say you have a working copy foo and the repository URL is $REPO.
svn checkout $REPO/foo
cd foo
And you have a directory bar inside that. And you want to ignore the
files a and b inside that directory bar. Set the svn:ignore property
of bar to the list of files (or patterns, actually) that you want
ignored, separated by newlines.
echo a > /tmp/ignoreme
echo b >> /tmp/ignoreme
svn propset svn:ignore -F /tmp/ignoreme bar
rm -f /tmp/ignoreme
See this section in the book:
http://svnbook.red-bean.com/en/1.2/
svn.advanced.props.html#svn.advanced.props.special.ignore
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
« Return to Thread: Ignoring files and directory
| Free embeddable forum powered by Nabble | Forum Help |