[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 20:48:32 +0200

Bohmont, Brent wrote:
> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Sent: Monday, October 20, 2008 2:07 PM
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: Diff with previous version -> "Unable to find repository location for ..." if file is not in previous rev.
>
> Bohmont, Brent wrote:
>> Hello,
>>
>> I also found the same behavior in v1.5.4 build 14259 64 bit.
>>
>> 1. Add or import new file
>> 2. Right click on the new file in working copy - select "Diff with previous version"
>> 3. Receive message box with error "Unable to find repository location for '<file name>' in revision <creation revision - 1>".
>
> What do you expect for a new file? Such a file does not have a previous revision!

> Ideally, the "diff with previous version" menu item wouldn't be
> available for files with a single revision. In lieu of that more
> friendly message would be nice. It's a pretty low priority, however.
> Not the best possible implementation, but not an unreasonable one
> either.

Without contacting the repository, it is not possible to find out
whether a previous revision exists. And contacting the repo for showing
the context menu is something we will never, ever do.

And the error message is correct. Also, it is generated by the svn
library. If you would like to have this changed, you'd have to ask on
the Subversion mailing list for this.

Stefan

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

Received on 2008-10-20 20:48:49 CEST

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