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

Re: [TSVN] Possible bug: with switched file

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-08-08 17:28:14 CEST

Jean-Noël Rouvignac wrote:

> I found possibly a new bug (since it works with svn client and not with TSVN).
> Here is what I did:
> my_wc is a working copy checked out from svn://my_server//src/my_repos/ .
>
> $ pwd
> /src/my_wc/
> $ ls
> file.txt directory
> $ svn move file.txt directory
> A directory/file.txt
> D file.txt
> $
> $ svn commit -m "move file.txt"
> Adding directory/file.txt
> Deleting file.txt
> Transmitting file data .
> Committed revision 8.
> $ svn switch svn://my_server//src/my_repos/file.txt file.txt -r 7
> At revision 7.

When I do an 'svn switch' with that file, I get an error that 'file.txt
is not under version control'.

> $ svn st
> S file.txt
> $ svn log file.txt
> ------------------------------------------------------------------------
> r7 | jnro | 2005-08-03 14:45:39 +0200 (Wed, 03 Aug 2005) | 1 line
>
> Revision 7
> ------------------------------------------------------------------------
> r6 | jnro | 2005-08-03 14:33:48 +0200 (Wed, 03 Aug 2005) | 1 line
>
> Revision 6
> ------------------------------------------------------------------------
>
> It works fine. Now accessing to the same directory and file with samba, I go to the directory directory/, right-click on file.txt and choose "TortoiseSVN > Show log". I obtain an error window with the folowing message:
> "File not found: revision 8, path '/process_args.c'"
>
> I am not sure, but it may be because TSVN does not look at the file from the URL found with svn info (that can also be viewed via the file properties in the Subversion tab)
> I think this is a bug.

No, TSVN just fetches the log always starting from HEAD, while the CL
client starts fetching it from WC. But as you may see if you browse the
Subversion mailing list, fetching from WC confuses people a lot.

If you want to get a log from a file which doesn't exist anymore in
HEAD, you have to use the repobrowser, go back to that revision and
choose "show log" from there.

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 Mon Aug 8 17:28:43 2005

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.