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

Log/View Differences does not work for some copied files

From: <SebastianUnger_at_eaton.com>
Date: 2006-07-05 04:46:47 CEST

> For others sake, which version of TSVN and SVN are you using?
From the TSVN about dialog:

TortoiseSVN 1.3.5, Build 6804 - 32 Bit
Subversion 1.3.2,
apr 0.9.7
apr-iconv 0.9.7
apr-utils 0.9.7
berkeley db 4.3.28
neon 0.25.4
OpenSSL 0.9.8a 11 Oct 2005
zlib 1.2.3

First of all, I think, TSVN should either not allow copying files between WCs or support it.

What problems can I expect with copying files between WC's, because I am using that very regularly! It's also the only convenient way I know for copying files between branches. Our repository is layed out as follows:

/trunk/prj1
         prj2
         prj3
/branches/users/user1/work-for-bug1/prj1
                                                prj2
                                                prj3
/branches/oldVersion/prj1
                           prj2
                           prj3

This means, that if I am to copy files between trunk and my branch (user1/work-for-bug1), and I can't copy between WCs, I'd have to check out our entire repository. Not very convenient. Is there any chance that TSVN can start officially supporting copying between WCs?

Otherwise the workaround works, thanks.

Seb

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn@gmail.com]
Sent: Thursday, 22 June 2006 10:38
To: users@tortoisesvn.tigris.org
Subject: Re: Log/View Differences does not work for some copied files

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 Wed Jul 5 04:47:00 2006

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