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

Re: [TSVN] Locked overlay

From: Andrew Vaughan <ajv-lists_at_netspace.net.au>
Date: 2005-04-13 22:03:48 CEST

On Thu, 14 Apr 2005 04:46 am, SteveKing wrote:
>
> Well, what should Subversion do? If a file is readonly and an update
> should change that file, it can't. So it *has* to throw an error.
>
I'm not so sure. I just check with subversion 1.1.4 on the linux box I
am in front of now.

andrew@p2:/tmp/wc$ ls -al
total 16
drwxr-xr-x 3 andrew andrew 4096 2005-04-14 05:30 .
drwxrwxrwt 17 root root 4096 2005-04-14 05:44 ..
-r--r--r-- 1 andrew andrew 13 2005-04-14 05:32 a.out
drwxr-xr-x 7 andrew andrew 4096 2005-04-14 05:32 .svn
andrew@p2:/tmp/wc$ svn up
U a.out
Updated to revision 3.
andrew@p2:/tmp/wc$ ls -al
total 16
drwxr-xr-x 3 andrew andrew 4096 2005-04-14 05:45 .
drwxrwxrwt 17 root root 4096 2005-04-14 05:45 ..
-rw-r--r-- 1 andrew andrew 17 2005-04-14 05:45 a.out
drwxr-xr-x 7 andrew andrew 4096 2005-04-14 05:45 .svn
andrew@p2:/tmp/wc$ svn --version
svn, version 1.1.4 (r13838)
   compiled Apr 12 2005, 01:30:05
...

svn up silently changes -r- access to rw when it needs to overwrite a
file.

Of course windows might be different. so might 1.2-rc.

There is also a branch where someone is developing full linux attributes
including owner:group support for subversion so that file perms can be
properly versioned. I guess that this will be as cross platform as
practical. assuming it is finished and merged to trunk.

-- 
Thanks
Andrew V.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Apr 13 21:58:40 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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