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

Re: Need to adjust based on svn:execute

From: David Ripton <dripton_at_ripton.net>
Date: 2005-02-09 15:04:08 CET

On 2005.02.08 19:54:35 +0000, Buddy Burden wrote:
> Okay, here's the situation: My user's working copy is on a Linux box,
> where it has to be (it's a web site and the Apache server runs on Linux).
> The directory is Samba mounted out to the user's Windows machine so that
> she can use TortoiseSVN to do all her Subversion activities, 'cause she's
> not a command line kinda gal (and, no, this isn't a TortoiseSVN question;
> read on).

Yuck. This sounds like a recipe for many small annoying problems.
Looked at Linux SVN GUI clients and Windows X servers?

> Now, what happens when she does the TortoiseSVN equivalent of an svn update
> is that she gets a bunch of CGI scripts with no execute bits set. Which of
> course isn't TortoiseSVN's fault; it has no idea that it needs to set them,
> and couldn't do it through Samba anyway (at least AFAIK). But it's still a
> problem.
>
> Now, the first thing my user does whenever something doesn't work well is
> run her bounce_apache script (one of the few things she does from the Linux
> command line). It occurs to me that if I could just add a line (or
> several) into that script to tell Subversion to update all the execute
> bits, I'd be set. Unfortunately, running svn update does nothing, because
> AFA Subversion is concerned, the files _are_ updated.
>
> Is there a way I can ask Subversion to check all the files' svn:execute
> property and adjust the execute bit accordingly? TIA.

I don't think so, short of deleting the files and rerunning svn update.

Can you do something quick and dirty without using svn properties? For
example, can you just do a "chmod -R u+x /path/to/cgi-bin" from her bounce
script?

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 9 15:06:46 2005

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.