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

RE: Determining when a file has been copied

From: Garrett McGrath <gmcgrath_at_Princeton.EDU>
Date: 2006-12-15 17:09:01 CET

 Alternatively you 'might' be able to write a hook script that does this for
you when the file is checked out. I don't know anything abou the hook
script system thou, but it's a possible direction.

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch@stats.uwo.ca]
Sent: Friday, December 15, 2006 10:46 AM
To: peter@aoeu.ca
Cc: SVN Users Mailing List
Subject: Re: Determining when a file has been copied

On 12/15/2006 10:38 AM, Peter McAlpine wrote:
> Hello,
>
> In CVS when I did a 'log' on a file I would get a list of the
> branches/tags for that file. Is there a way to do this with SVN? I
> want to see all the copies that were created of a file.

There's no simple way. A non-simple way is to look through a verbose log
for messages like

   A destination (from source:rev)

where source is the file that interests you, and destination is where it was
copied. It would be nice if messages like this showed up when you asked for
a log of source, but you'll only see them when you look at the log for the
destination: so you need to scan the log for the whole repository to find
them all.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 15 17:10:03 2006

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.