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

Re: Diff with previous version -> "Unable to find repository location for ..." if file is not in previous rev.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 20 Oct 2008 19:07:54 +0200

Peter wrote:
> Hi,
>
> In installed the latest and greatest (TortoiseSVN 1.5.4, Build 14259 -
> 32 Bit , 2008/10/11 08:23:13) and noticed something I didn't notice
> before ?
> Can't say why I didn't ran into it before ? Was the option not there
> or did it not fail or ...
>
> It just struck me as odd as I did not notice before.
>
>
> When I choose:
> "Diff with previous version"
>
> On a file that was not checked in in previous revision, I get this
> error:
> "Unable to find repository location for ..."
>
> So, say a file is checked in in REV 10
> Then a couple more REVs are created as other files are checked in
> Next the same (changed) file is checked in again, now at REV 15
> More files are checked in ...
>
> When I then choose "Diff with previous version" on that file it will
> fail, because the file does not exist in REV 14 ?
> I would expect the system to go back to REV 10 instead of failing on
> REV 14 ?

The "diff with previous revision" does a diff between "working copy" and
"last committed revision - 1".
In your case, that would translate to a diff of r15 with r14. And if you
haven't *replaced* the file in r15, that should work.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-20 19:08:13 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.