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

Re: Log/View Differences does not work for some copied files

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-06-22 12:38:11 CEST

On 6/22/06, Unger, Sebastian <SebastianUnger@eaton.com> wrote:

> Part 1: What I did
> - Check out some directory into working copy wc1
> - Create a file file1.txt with some content.
> - Add the file using TSVN add
> - Commit wc1
> - Check out same directory into working copy wc2
> - Use TSVN delete on wc2/file1.txt
> - Commit wc2
> - Right click drag wc1/file1.txt to wc2 and select Copy and Rename. Rename
> to file2.txt

Never copy files in between working copies! Subversion will allow that
(sometimes), but it almost never really works. In your case, it worked
ok - but just for the future: don't do that!

> - Change content of file2.txt
> - Commit wc2
> - Right click wc2/file2.txt and select show log
> - In the revision that added file2.txt, right click on file2.txt and select
> Show differences.
>
>
> Part 2: What I expected
> To get a list of changes made in the step "Change content of file2.txt"
> above.
>
> Part 3: What I got
> An error "File not found: revision 1, path '/file2.txt'"

Subversion doesn't have a log API that takes a peg revision (in
1.3.x), and the one in 1.4.x doesn't always work as expected.

If you need to see the difference in a 'renamed' case, show the log
for the file in question and then choose the two revisions or the
corresponding menu entry on the top view in the log dialog, *not* the
bottom view.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jun 22 12:38:20 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.