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

svn cat -r BASE hits the network?

From: Stephen Davis <subversion_at_soundgeek.org>
Date: 2005-04-03 22:46:17 CEST

For my CodeWarrior plugin
(http://www.soundgeek.org/software/SubversionPlugin.html), I use
svn_client_cat() to feed the entire file contents into the CodeWarrior
visual diff engine. Unfortunately, for diffs against BASE,
svn_client_cat() always hits the repository which obvious makes local
diffs much slower than they need to be (and makes offline editing a

I imagine this will be a fairly common-place way to do diffs in GUI
plugins so this seems like a bug/optimization target. I wound my way
through the client diff and revert code but it was definitely
non-trivial to find the text-base file for my purpose. Am I
overlooking some obvious (and straight-forward) client lib
functionality for finding the text-base file so I can feed its contents
into the visual diff engine?


P.S. I have not actually tried this against trunk but I looked at the
cat-cmd.c code in trunk and it's basically the same.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 3 22:49:03 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.