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

[TSVN] Repo browser: Hide server tree above repo?

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-04-18 10:59:02 CEST

Hi folks,

In repo browser, when we display a URL like
  <http://svn.collab.net/repos/tortoisesvn/trunk/src>
We show items above the repository (eg. repos) as expandable, but if you
try to expand them you get a PROPFIND error because they are server
paths and not repository paths. Until this morning I thought it was not
possible to determine the split point, but having seen a recent message
on the SVN dev list, it appears that is not true.

> From: "C. Michael Pilato" <cmpilato@collab.net>
> Date: 16 Apr 2005 20:44:37 -0500
> Subject: Re: Possible issue triggered by repos reorg (including repro
script)
>
> Ben Collins-Sussman <sussman@collab.net> writes:
>> Not yet, since the working copy, when looking at URL, doesn't know
>> where SVNROOT ends and the "internal repository" path begins. We
plan
>> to change that someday.
>
> Hrm. What does this do, then:
>
> svn_error_t *svn_ra_get_repos_root (svn_ra_session_t *session,
> const char **url,
> apr_pool_t *pool);

So my question is, can we just suppress those server folders in the
displayed tree, so that we show only items within the repository which
we can expand (permissions allowing)?

Simon

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

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

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