You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by David Van Couvering <da...@vancouvering.com> on 2006/11/28 02:36:44 UTC
svn:ignore property with multiple values?
I scoured Google and the SVN docs, and nothing seems to indicate, that I
can find, how to list multiple items for the svn:ignore property.
Specifically, I want to ignore both the lib and dist directories in the
java/demo/localcal directory, as well as src/org/*. How do I do this?
Thanks,
David
Re: Re: svn:ignore property with multiple values?
Posted by Andrew McIntyre <mc...@gmail.com>.
On 11/27/06, David Van Couvering <da...@vancouvering.com> wrote:
> Thanks, Andrew. For posterity, it should be 'svn pe' or 'svn propedit'
> not 'svn ps', so you can have multiple entries.
Yep, this is correct. I had thought propset also went to your editor
when invoked on a directory, but that is not the case.
andrew
Re: svn:ignore property with multiple values?
Posted by David Van Couvering <da...@vancouvering.com>.
Thanks, Andrew. For posterity, it should be 'svn pe' or 'svn propedit'
not 'svn ps', so you can have multiple entries.
David
Andrew McIntyre wrote:
> On 11/27/06, David Van Couvering <da...@vancouvering.com> wrote:
>> I scoured Google and the SVN docs, and nothing seems to indicate, that I
>> can find, how to list multiple items for the svn:ignore property.
>>
>> Specifically, I want to ignore both the lib and dist directories in the
>> java/demo/localcal directory, as well as src/org/*. How do I do this?
>
> When you want to ignore a directory, put the name of the directory you
> want to ignore in the svn:ignore property for the directory which
> contains the one you want to ignore. Everything underneath is
> automatically ignored. Presumably what you want to ignore in src/org
> is json, so you should:
>
> cd java/demo/localcal
> svn ps svn:ignore .
>
> here, put:
>
> lib
> dist
>
> cd src/org
> svn ps svn:ignore .
>
> here, put:
>
> json
>
> That should do it. As an example, do 'svn pg svn:ignore .' at the
> top-level of your trunk checkout to see how the classes directory is
> ignored.
>
> andrew
>
>
Re: svn:ignore property with multiple values?
Posted by Andrew McIntyre <mc...@gmail.com>.
On 11/27/06, David Van Couvering <da...@vancouvering.com> wrote:
> I scoured Google and the SVN docs, and nothing seems to indicate, that I
> can find, how to list multiple items for the svn:ignore property.
>
> Specifically, I want to ignore both the lib and dist directories in the
> java/demo/localcal directory, as well as src/org/*. How do I do this?
When you want to ignore a directory, put the name of the directory you
want to ignore in the svn:ignore property for the directory which
contains the one you want to ignore. Everything underneath is
automatically ignored. Presumably what you want to ignore in src/org
is json, so you should:
cd java/demo/localcal
svn ps svn:ignore .
here, put:
lib
dist
cd src/org
svn ps svn:ignore .
here, put:
json
That should do it. As an example, do 'svn pg svn:ignore .' at the
top-level of your trunk checkout to see how the classes directory is
ignored.
andrew