[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-30 14:29:16 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 no way to know who called svn?

I don't understand the question. Are you allowing anonymous
(unauthenticated) commits? If not, then every revision has an
'svn:author' property attached to it. 'svn log' shows it, along with
the datestamp.

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
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:32:01 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.