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

Re: log history for re-created files

From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Thu, 11 Sep 2008 11:49:55 +0100

lfournie_at_rockwellcollins.com wrote:
>
> Hello,
>
> I am new on this list and hope this is the right place to report a bug !
> Here the issue I noticed with TortoiseSVN:
>
> Let say you add a file at revision 100, you delete it with Tortoise at
> revision 200 and you re create (add+commit) it (a new file with the same
> name) at revision 300.
> If you request a chekout ou update with revision in 100-200 range, the
> 'show log' window on the file reports only changes after build 300, but
> never in 100-200 range as you may expect !
That's expected. The new file didn't have any history before rev 300.

> Note that a 'show log' on the parent directory shows the all history for
> that file.

No, show log on the parent directory shows all the history for that
directory, which includes the history of the old file and the new file.

If the new file does actually have history from the old file, then you
could do something like
svn rm my_file
svn cp http://my_repo/some_path/my_file@199 ./my_file
svn ci my_file -m"Replacing history-less file with file copied from rev 199"

but.. sorry I don't know exactly how to do that sort of thing in TSVN.
Maybe the "copy to working copy" in the repo-browser is the feature you
want here (you can view an "old" revision of the repo to get a view of
the old file).

See
http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-09-11 12:50:25 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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