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

Re: svnlook output

From: Dominic Anello <danello_at_danky.com>
Date: 2005-06-24 18:16:36 CEST

On 2005-06-24 10:38:19 -0500, John Browne wrote:
> I was curious to know if there is a way to determine if a changed path
> in the output of "svnlook changed" is a directory or a file. I'd like
> to implement two different regular expressions in a hook script for
> naming conventions for directories and files. I need to allow the
> period character for files, but I do not want to allow it for
> directories.
>
> Any ideas?

Directories are reported with a trailing forward slash, like so:

Directory add/delete:
[svn@lynx ~/ec-svn]$ svnlook changed -r 4409 repo
A builds/eCommerce/4.8/4.8.0.1.1/

Property update:
[svn@lynx ~/ec-svn]$ svnlook changed -r 4208 repo
_U branches/eCommerce/4.8.0.0/

-- 
Life to you is a dashing, bold adventure.

  • application/pgp-signature attachment: stored
Received on Fri Jun 24 18:18:18 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.