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

Re: Roadmap for 1.1

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2004-04-04 18:09:11 CEST

John,

I'm writing a GUI that any one should be able to use on any SVN project.
I cannot know what conventions are in force. All I can do is call the
SVN API and query it for information. SVN has no notion of a "tag",
"branch" or "label".

I my mind a "label" is a symbolic name to an interesting event in an
items history. How do I find theses events?

Given I start with a user requesting the history of an item in their
working copy how do I find the "tags" directory and the "branches"
directory? Are there one or many of these?

>>The current copy to tags method is no help, even if I could work out that
>>such a tags directory existed and where it was it would be very slow to
>>execute if the repo is not local.
>
>It's your project; you structure the tags directory however you like. If
>you are talking about someone else's project, you can use 'svn ls' to
>browse (if they haven't bothered to provide a web interface for example).

No its not my project, I'm writing a tool for others to use and I'm not forcing
any conventions on them.

>And the supposed performance issue is FUD. You haven't apparently even
>tried this, so you don't know that it works just fine with remote repos.

I'm in England and my pysvn repo is in Chicago, I can assure you that access is
slow at 4 seconds per svn log and around 3 seconds per svn ls. The overall time
to show a history with "labels" depends on the number of transactions I would
need to issue before merging the results. Can I get away with 1 svn log and 2
svn ls (tags, branches)? That goes from 4 seconds for a log with no labels
to 10 seconds with "labels". (I'm assuing that I knew where to ls)

I'd prefer the answer in 4 seconds then 10.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 4 18:20:24 2004

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.