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

Re: How to force commit of unchanged file

From: Ralph Seichter <subversion-ml_at_seichter.de>
Date: 2007-02-23 11:09:23 CET

Robert Dodier wrote:

> What I really want is to change the file permissions on the file
> in question (i.e. I executed chmod and now I want the svn co or
> svn update to produce the file with those same permissions).

As it was pointed out, you can use the svn:executable property, but
there is no built-in svn:umask or svn:permissions. However, you could
probably add your own set of permission-related properties to any file
under SVN control, and use this information in a shell/perl script to
fix the permissions after updates.

I'm not sure what good these custom permissions could do, though. Think
of effects equivalent to "chmod 0444 Foo.java", which would prevent
further updates of this file. svn:executable can of course be useful,
but I'm scratching my head about manipulating the 'r' or 'w' bit of a
file. Is there nothing you can do with a well-placed "umask" statement?

-- 
Mit freundlichen Grüßen / Sincerely
Dipl. Inform. Ralph Seichter
HORUS-IT
Ahornweg 10
D-57635 Oberirsen
Tel +49 2686 987880
Fax +49 2686 987889
http://horus-it.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 23 11:10:43 2007

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.