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

Detect file added with history using svnlook

From: Olivier Sannier <obones_at_free.fr>
Date: Mon, 14 Apr 2008 14:01:10 +0200

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?

Thanks for your help
Cheers
Olivier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-14 14:22:34 CEST

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