[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problem of setting auto-props

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-04-12 23:49:23 CEST

On 4/12/06, Stan J <thinkernel@yeah.net> wrote:
> I'm using subversion 1.3.0 under freebsd 4.11
> I set my config file like below.
> =========================
> [miscellany]
> enable-auto-props = yes
>
> [auto-props]
> *.xls = svn:needs-lock=true
> *.XLS = svn:needs-lock=true
> =========================
>
> I'm expect that this will set needs-lock property when I add both
> *.xls and *.XLS files.
> The fact is like below
> =========================
> ~/work/test> echo aaa > aaa.xls
> ~/work/test> echo BBB > BBB.XLS
> ~/work/test> ll *
> -rw-r--r-- 1 0037 users 4 Apr 12 21:14 BBB.XLS
> -rw-r--r-- 1 0037 users 4 Apr 12 21:14 aaa.xls
> ~/work/test> svn add *
> A BBB.XLS
> A aaa.xls
> ~/work/test> svn ci * -m "test"
> Adding BBB.XLS
> Adding aaa.xls
> Transmitting file data ..
> Committed revision 1.
> ~/work/test> ll *
> -r--r--r-- 1 0037 users 4 Apr 12 21:14 BBB.XLS
> -rw-r--r-- 1 0037 users 4 Apr 12 21:14 aaa.xls
> =======================================
>
> *.XLS is readonly but aaa.xls is still writeable.
> Did i do anything wrong?

Weird. I can see the same problem here, looks like svn:needs-lock
never gets set for one of the two files. Will look into it further...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 23:50:40 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.