subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <jcor...@gmail.com>
Subject Re: svn copy vs svn add in pre-commit
Date Wed, 13 Jun 2012 12:44:53 GMT
On Wed, Jun 13, 2012 at 2:37 PM,  <Ullrich.Jans@elektrobit.com> wrote:
> Hi,
>
> is there any way to determine if a commit to a repository is an svn copy or a shell level
copy plus an svn add? I'm trying to limit people tagging to doing an svn copy, but I can't
figure out how to determine if the current transaction (running in the pre-commit hook) is
a copy or an add...
>
> Any hints?

try 'svnlook changed --copy-info -t $TXN $REPOS'

The --copy-info should show things like "(from trunk/:rXXX)".

-- 
Johan

Mime
View raw message