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

RE: Detect File Move?

From: Goddard Lee <lee.goddard_at_easa.eu.int>
Date: 2005-08-30 14:35:37 CEST

> On Aug 30, 2005, at 5:21 AM, Goddard Lee wrote:
>
> >> From: Goddard Lee [mailto:lee.goddard@easa.eu.int]
> >> What is the best (cheapest, most economical, quickest to
> >> operate) way to detect a file (and/or directory) move?
> >
> > Forgot to say, is there a better solution than post-commit doing
> > "log -v
> > $REPO" and looking for:
> >
> > A /dir/test.txt (from /test.txt:7)
> > D /test.txt
>
> Nope, that's exactly what an 'svn move' looks like: a copy
> and delete.

Is there a better way to find it out will happen/is happening/has
happened?

> > Is there no way to know who called svn?
>
> I don't understand the question. Are you allowing anonymous
> (unauthenticated) commits?

Sorry: better phrased with svn-terminology, I think, is: is there a way
for hook to know what sub-command will be/is being/has been executed?
If I renamed svn to svn-real, my svn would see its first agument as, for
example, 'mv' ...?

Thanks
Lee

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 30 14:38:56 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.