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

Re: [patch] fix peg revision calculation

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 15 Jun 2010 18:59:45 +0200

Any comments on this please?

On Wed, Jun 9, 2010 at 20:39, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> Hi,
>
> The following script fails with both 1.6.x and trunk:
>
> svnadmin create testrepo
> svn co file:///d:/development/svn/svntests/testrepo testwc
> cd testwc
> echo test > file.txt
> svn add file.txt
> svn ci -m ""
> echo test2 > file.txt
> svn ci -m ""
> echo test > file2.txt
> svn add file2.txt
> svn ci -m ""
> svn ren file.txt file3.txt
> svn ci -m ""
> svn cat file3.txt_at_4 -r3
>
> svn: Unable to find repository location for 'file3.txt' in revision 3
>
> Note: if the commits of file2.txt are not done (i.e., there's no revision
> between the asked rev and the rename), then it works.
>
> The following patch fixes this issue. But I'm not sure if this is the
> correct way to fix this. Maybe someone else can take a look at this and
> maybe come up with a better solution?
>
> Stefan
>
> --
>       ___
>  oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>   /_/   \_\     http://tortoisesvn.net
>

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
Received on 2010-06-15 19:00:42 CEST

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

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