[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: Paul Koning <Paul_Koning_at_dell.com>
Date: Tue, 1 Jul 2008 09:34:50 -0400

>>>>> "Garret" == Garret Wilson <garret_at_globalmentor.com> writes:

 Garret> A client of mine finally switched from CVS to Subversion
 Garret> 1.5. I had been extolling the virtues of Subversion,
 Garret> including history.

 Garret> Starting with freshly converted repository, a team member
 Garret> moved /repo/trunk/old to /repo/trunk/new .

 Garret> I pull up the Subclipse 1.4 (supporting Subversion 1.5)
 Garret> inside Eclipse 3.4 and look at the log of /repo/trunk/new . I
 Garret> only see the addition of /repo/trunk/new . I don't see any
 Garret> previous history of /repo/trunk/old .

 Garret> What single, simple command can I make to verify
 Garret> unambiguously whether /repo/trunk/new has history connecting
 Garret> it to /repo/trunk/old ?

"svn log -v" will show "(from <pathname>:<revnum)" on the new pathname
if a copy or move was done.

To distinguish a copy from a move, see if the same rev also contains a
delete operation on the old path (the one mentioned in "from"). If
yes then it was a move.

    paul

---------------------------------------------------------------------
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 15:49:16 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.