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

Re: Diff unified context lines

From: Marinel <marinel.marian_at_gmail.com>
Date: Mon, 6 Oct 2008 03:48:06 -0700 (PDT)

Maybe I wasn't too clear about what I want to do.
So, here's another try to explain this.
I created a patch by accessing TortoiseSVN -> SVN Create Patch...
This generates a unified diff file with 3 lines of context for each
change.
I would like to make a setting so that the generated unified file
contains 10 lines of context for each change.
I saw that I can alter the subversion configuration by accessing
TortoiseSVN -> Settings -> General -> Subversion configuration file
[Edit].
This actually points me to "c:\Documents and Settings\username
\Application Data\Subversion\config".
However, when I changed the diff-cmd to something invalid in the
subversion config file I noticed that although the command line svn
was taking the new setting into consideration, Tortoise completely
ignored that setting. I tested it by accessing again TortoiseSVN ->
SVN Create Patch... but as I said I got a unified diff with 3 lines of
context. I would've expected some error.
So I started thinking that maybe Tortoise SVN is not using the "svn
diff" utility at all, when it's generating the patch files. The
mystery is that I couldn't find how it actually generates that unified
diff and how could I override the default setting: 3 lines of context.
I should mention that I have TortoiseSVN 1.5.3.13783 for Windows.
I really hope someone can help me on this.
Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-06 13:00:36 CEST

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