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

Re: command to verify move history

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 1 Jul 2008 02:25:12 -0500

On Jun 30, 2008, at 22:56, Garret Wilson wrote:

> [snip] I just wanted to find *any* way to verify that a file has
> history. I think the easiest answer seems to be:
>
> 1. Do a "svn log repo/trunk/new".
> 2. If you don't see the history of repo/trunk/old, the history
> isn't there, because "svn log" by default shows all history.

Yes.

If you use the verbose flag on svn log, you'll also see which paths
were affected, and for copied paths, which paths they were copied
from. For example:

$ svn log -v http://svn.collab.net/repos/svn/tags/1.5.0/ --limit 1
------------------------------------------------------------------------
r31785 | hwright | 2008-06-19 00:44:46 -0500 (Thu, 19 Jun 2008) | 1 line
Changed paths:
    A /tags/1.5.0 (from /branches/1.5.x:31699)
    M /tags/1.5.0/subversion/include/svn_version.h

Tagging 1.5.0 with svn_version.h matching tarball.
------------------------------------------------------------------------
$

You can see that the 1.5.0 tag was copied from the 1.5.x branch. If
you omit the --limit 1 option, you get history back through the
branch, and back through when that branch was originally copied from
trunk.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-01 09:26:00 CEST

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.