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

Re: [Issue 928] svn log needs 3 modes of operation (follow copies/names/neither)

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 17 Jun 2013 15:26:28 +0300

tomchiverton_at_tigris.org wrote on Fri, Jun 14, 2013 at 05:25:08 -0700:
> Here's another great use case; suppose we copy foo.html to foo2.html do some
> work we can show to people without effecting a live site.
>
> Later when we want to publish them, like good source control users we (or our
> tools !) delete foo.html and rename foo2.html to foo.html
>
> Now there is now way to see the history of changes for foo.html all the way back
> to when it was first made.
> The only workaround seems to be to copy and past the contents of foo2.html into
> foo.html, thus loosing any history associated with those changes.

Your conclusion is inaccurate. If you do:

% svn rm foo.html
% svn cp foo2.html foo.html
% svn ci

then 'svn log' will show your entire history. (This assumes foo.html
didn't have any changes in the meantime.)

If you have further questions, please address them to the
users_at_subversion.apache.org mailing list.
Received on 2013-06-17 14:27:22 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.