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

Find out the version of the repository server

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-27 18:12:37 CEST

Hi,

First a little background why I need to find out the version of the
repository server. Maybe you guys know another way to do what I want
without knowing the version?

Subversion 1.2 introduces svn_client_log2() which takes a 'limit'
parameter. That's great. But, if you call that function with a < 1.2
server, the server returns *all* revisions and the client just drops the
ones not asked for. That can be *very* slow for many revisions.
So, I'd like to somehow check if the 'limit' option works as it does
with 1.2 servers and if not, just use svn_client_log2() without the
limit param. To limit the revisions fetched, I could then adjust the
revision range accordingly.

Sure, I could always adjust the revision range to avoid the problems
with < 1.2 servers, but then I might not get any log messages back if in
the range I specify no changes to that path/URL happened - that's why
I'd like to use the 'limit' param if possible.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 18:39:34 2005

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

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