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

Re: Can't compare revisions across copy/rename boundary?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-01 10:58:06 CEST

Steve Strobel wrote:
> I am trying to clean up some old branches, figuring out whether I should
> just abandon them or if there is anything useful in them. I have been
> selecting each branch in the Repository Browser and viewing the log. I
> have run into two problems.
>
> The first problem is minor, and easy to work around. If I view the log
> and "Stop on copy/rename" is not checked, I can check it and the list of
> revisions will be properly truncated. If I then uncheck "Stop on
> copy/rename", nothing changes. If I press "Next 100", I get an error
> message like "Unable to find repository location for
> 'file:///C:/Version%20Control/SVN_Repo_TCB_Firmware/branches/rev626-with-lcd-timing'
> in revision 643". Exiting the log viewer and restarting it works fine,
> and shows the entire list of revisions.

Should be fixed for most cases in revision 7684.

> The second problem occurs when I try to compare two revisions and either
> of those revisions is prior to the last copy/rename (in other words, one
> or both of those revisions can only be seen if the "Stop on copy/rename"
> box is not checked). When I do such a comparison, I get a "Changed
> Files" dialog that shows the files that have been changed. If I then
> double-click on one of the modified files in an attempt to see the
> changes made to that file between the selected versions, I get a dialog
> that says, "Please wait... Getting file file:///C:/Version
> Control/SVN_Repo.../rev626-with-lcd-timing Revision 559", then another
> dialog with the error message, "File not found: revision 559, path
> '/branches/rev626-with-lcd-timing/tcb/rlc/Makefile'. I think that the
> problem is that although revision 559 is a direct ancestor of the
> current file version, it wasn't created in the current branch, but in
> what the current branch was copied from.

I can't reproduce this. Here's what I've tried:
* create folder 'fold', commit (rev1)
* add file 'file' inside 'fold', commit (rev2)
* modify 'file', commit (rev3)
* rename 'fold' to 'fold2', commit (rev4)
* modify 'file', commit (rev5)
* show log on 'fold2', choose rev5 and rev3, choose "compare revisions"

Even if I select rev5 and rev2 I don't get an error from the changed
files dialog when I doubleclick on 'file' to diff it.

So, can you give me some more information or a reproduction recipe?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Oct 1 10:58:18 2006

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.