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

Re: Detect file added with history using svnlook

From: Olivier Sannier <obones_at_free.fr>
Date: Tue, 15 Apr 2008 09:06:41 +0200

Hari Kodungallur wrote:
> On Mon, Apr 14, 2008 at 5:01 AM, Olivier Sannier <obones_at_free.fr
> <mailto:obones_at_free.fr>> wrote:
> Hi all,
> In a pre-commit hook, I'm using svnlook to see what files were
> added and if the newly added files do not respect a set of rule, I
> fail the commit.
> However, I would like those rules to only apply for files added to
> the repository, not files added with history (because of a move or
> copy).
> Right now, I read the first two characters of the svnlook output,
> but contrary to svnlog, there is no A+ marker to indicate that the
> file was added with history.
> Did I miss something?
> Use the --copy-info option of the 'svnlook changed' command.
> Rgds,
> -Hari

Thanks, but this seems to only be available in the 1.5 branch, which I
cannot use on production servers. Is there some undocumented equivalent
in the 1.4 versions ?
Received on 2008-04-15 09:07:05 CEST

This is an archived mail posted to the Subversion Users mailing list.