Discussion:
svn:ignore
Anton Shepelev
2017-12-19 12:17:32 UTC
Permalink
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.
Anton Shepelev
2017-12-19 12:24:33 UTC
Permalink
Post by Anton Shepelev
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.
Ryan Schmidt
2017-12-19 13:47:44 UTC
Permalink
Post by Anton Shepelev
Post by Anton Shepelev
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.
Anton Shepelev
2017-12-19 16:57:16 UTC
Permalink
Post by Ryan Schmidt
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.
Continue reading on narkive:
Loading...