On Mon, Feb 8, 2010 at 3:40 AM, Janosch Scharlipp <
janosch.scharlipp_at_isys-vision.de> wrote:
>
> Hi, i am trying to set the svn:ignore property of a specific folder to "*",
> so that all files and folders inside this folder are beeing ignored by svn.
> Somehow i don't get this done, i tried lots of different aproaches, but it
> always seems as if the pattern is beeing expanded, so that either the
> command fails, or the property it beeing set to the wrong value.
>
> Target folder> svn propset svn:ignore * .
> ( command is executed on all contents of . with property value ".svn" (??))
>
> Target folder> svn propset svn:ignore "*" .
> ( same result)
>
> Target folder> svn propset svn:ignore "\*" .
> ( error: "\xxx is not a working copy" )
>
> Target folder> svn propset svn:ignore "^*" .
> (no expansion takes place, but property is set to "^*")
>
>
Janosch
Actually I don't know why. But on my windows 2000 I got this interesting
result.
I'am using svn 1.6.6 command-line.
F:\test2\tags>svn st
M .
? a.txt
? bbbb.py
F:\test2\tags>svn ps svn:ignore "*" .
property 'svn:ignore' set on '.'
F:\test2\tags>svn st
M .
F:\test2\tags>svn st --no-ignore
M .
I a.txt
I bbbb.py
F:\test2\tags>svn pg svn:ignore .
*
The other way to set it (or any other properties) was the svn pe
sub-command.
Personally, I use it to avoid any problems.
Regards,
Eric,
...
>
> What would be the way to do what i want? Why is this so difficult? Where
> does the expansion take place, is it the command line, or is ist svn? If it
> is svn, should the property value not be used without expansion?
>
> Janosch
>
>
Received on 2010-02-09 14:48:21 CET