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

Re: Difference between "changed" and "dirs-changed" in svnlook?

From: Jason M. Sullivan <jasons_at_otii.com>
Date: Tue, 23 Sep 2008 10:23:55 -0400

David Weintraub wrote:
> I can't answer the specific question, but I wrote my own version of
> the commit-access-control.pl hook, and I didn't use the dirs-changed
> subcommand of svnlook in my version.
>
> Maybe properties on directories don't show up with "svnlook changed"
> but will on "svnlook dirs-changed"? I'm guessing by the description,
> but I've used my script since SVN 1.2 came out, and never noticed any
> problems.
>
I checked with property changes, and those show up in the "changed"
output, too. So I took the "dirs-changed" section out.
> BTW, if you're interested, I'll be glad to share my version. It allows
> for group definitions, property values checking, checking the commit
> comment (svn:log), and whether the file names are legal or not.
> (Prevents someone from creating a file "con.log" which is valid on
> Unix, but not on Windows). It also has a add-only mode which was the
> whole reason I wrote it. I wanted people to be able to make tags, but
> not modify them.
>
> I'm not sure what you mean by finer grain, but you can easily specify
> individual files with mine if you want to get that detailed.
>
That would be awesome. Thanks! I mostly was talking about restricting
users to only specific actions (read, write, create, delete).
Regrettably, copy is just a create, and move is a create and delete, so
those two more complicated actions can't be managed independently.
That's why I'm hoping subsequent versions of subversion allow that level
of control.
> Like the original, it uses a control file to set the permissioning and
> values to check. In fact, I wrote mine to keep it more or less
> compatible with the original version.
>

Cool. I break compatibility (at least with the access type), but pretty
much retained everything else. Thanks again!

-- 
Jason M. Sullivan
Optimal Technologies (US), Inc.
ASIC Design Engineer
[t] 919.459.3607
[f] 919.334.6519
jasons_at_otii.com <mailto:jasons_at_otii.com>
http://www.otii.com <http://www.otii.com/>
We optimize your world™
The information contained in or attached to this e-mail message is 
intended solely for the person to whom it is addressed, and may be 
privileged, confidential, and protected from disclosure. If you are not 
the intended recipient, your dissemination, distribution, copying, or 
use of the message, attachments, or any information contained therein in 
any way is strictly prohibited. If you think you have received this 
message in error, please notify the sender immediately by replying to 
this message, then delete this message and all attachments from your 
system. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-23 16:24:40 CEST

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.