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

Re: Incorrect log messages for re-created files?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-08-09 17:34:24 CEST

Armin L. wrote:
> Hi,
>
> I am not sure if this _is_ a bug, but at least it does not seem intuitive to me
> and maybe one of you can comment this.
>
> I performed the following steps using TortoiseSVN-1.3.5.6804-svn-1.3.2.msi as
> well as using TortoiseSVN-1.4.0.7195-RC1-win32-svn-1.4.0RC1.msi:
>
> - create a file and add it to SVN (using "Add..." ), commit,
> - then delete the file (SVN delete), again commit,
> - re-create a file with the same name, again commit.
>
> Now we have four revisions (say 0, 1, 2, 3) where in the first revision the
> file (say "test.txt") did not exist, in the second it did exists, in the third
> it is gone and in the fourth it was re-created.
>
> It is interesting that, when I "Update to revision..." number 1, I see the file
> I added first (with correct contents from revision 1), but when I select "Show
> Log..." on this file, I only see an entry for revision 3!
>
> Did I misinterpret the feature or shouldn't I a history of the file I added
> first (i.e. revision 1)?

The "show log" command always gets the log from HEAD. The SVN command
line client show the log from WC and would in fact show you the log for
revision 1. But then users get confused because it doesn't show them
logs for the file/folder which others have committed in the mean time
and assume that their file/folder is still in sync with the repository.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 9 17:34:54 2006

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

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