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

"comapre revisions" if unified diff contains --

From: Yuriy Solodkyy <y.solodkyy_at_gmail.com>
Date: 2006-03-01 19:56:19 CET

Hi

I had a problem with comparing revisions. Sometimes (I think I know
when) TortoiseSVN does not show all files that differ in two
revisions.

Say if you have files a,txt, b.txt. c.txt in a /test and if file b.txt
contains lines starting with --, the following step show problem:

1. create these files and add them into svn://rep/test in the given
order (I did in separate revisions)
2. make a copy (SVN COPY) of svn://rep/test into svn://rep/test2
3. modify a.txt, b.txt, c.txt in each location and be sure to add
something to the line starting with --
4. commit changes separately to each location
5. run repository browser
6. select this branches and use "compare revisions"
7. I got only a.txt and b.txt or just b.txt, but not all 3 files

I think the problem is in -- at the beginning of the line. It seems
that tortoiseSVN just looks for -- to find changed files in UNIFIED
DIFF.

If you change other parts of b.txt or as a next step just remove these
lines starting from -- you will get all 3 files in "compare
revisions".

SVN: 1.3.0 (windows)
TortoiseSVN: 1.3.1

any comments?

--
Yuriy Solodkyy
Received on Wed Mar 1 19:56:29 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.