[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: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 22 Sep 2008 19:09:30 -0400

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

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.

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.

David Weintraub
On Mon, Sep 22, 2008 at 2:25 PM, Jason M. Sullivan <jasons_at_otii.com> wrote:
> I'm hacking on the commit-access-control.pl ACL script to try and provide a
> slightly finer grain of control (does anyone know when ACLs will be
> implemented in the subversion, btw?), and I noticed the program does an
> "svnlook dirs-changed" before it does an "svnlook changed".
> What I want to know is this: Is there any information in the "dirs-changed"
> output that doesn't show up in the "changed" output? As near as I can tell
> from a little playing around, there isn't. I can get all the changed
> information by just doing an "svnlook changed".
> Am I right here? Thanks in advance.
> PS: And if I am right, does anyone know why the example code does both?
> --
> 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
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 01:09:53 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.