svn:ignore

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

svn:ignore

Anton Shepelev
Hello, all

I can't seem to understand the usage of the svn:ignore
property.  I have a directory DIR with a file file.txt in
it, which I want ignored.  I entered DIR, and typed:

  svn propset svn:ignore file.txt .
  svn ci .

Now, when I modify file.txt, svn still detects the
modification and has no problem commiting it.  What am I
doing wrong?

I expect that it will ignore changes to file.txt.  If not,
what is the purpose of svn:ignore?

--
Please, do not forward replies to the list to my e-mail.

Reply | Threaded
Open this post in threaded view
|

Re: svn:ignore

Anton Shepelev
I wrote:

>Now, when I modify file.txt, svn still detects the
>modification and has no problem commiting it.  What am I
>doing wrong?
>
>I expect that it will ignore changes to file.txt.  If not,
>what is the purpose of svn:ignore?

Got it -- it applies at the moment of 'svn add'.  I have now
another question: how do I specify several ignore pattern on
the Windows commandline?  I have no idea how to pass a list
of new-line separated values.

--
Please, do not forward replies to the list to my e-mail.

Reply | Threaded
Open this post in threaded view
|

Re: svn:ignore

Ryan Schmidt-8

On Dec 19, 2017, at 06:24, Anton Shepelev wrote:

> I wrote:
>
>> Now, when I modify file.txt, svn still detects the
>> modification and has no problem commiting it.  What am I
>> doing wrong?
>>
>> I expect that it will ignore changes to file.txt.  If not,
>> what is the purpose of svn:ignore?
>
> Got it -- it applies at the moment of 'svn add'.  I have now
> another question: how do I specify several ignore pattern on
> the Windows commandline?  I have no idea how to pass a list
> of new-line separated values.

I'd use "svn propedit", and not specify a value on the command line; this will open your editor.


Reply | Threaded
Open this post in threaded view
|

Re: svn:ignore

Anton Shepelev
Ryan Schmidt to Anton Shepelev:

>>I have now another question: how do I specify several
>>ignore pattern on the Windows commandline?  I have no idea
>>how to pass a list of new-line separated values.
>
>I'd use "svn propedit", and not specify a value on the
>command line; this will open your editor.

Thank you, Ryan.

--
Please, do not forward replies to the list to my e-mail.