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

RE: Just say no to collections: moving wc meta-data out of the wc

From: Bill Tutt <rassilon_at_lyra.org>
Date: 2002-05-29 18:20:05 CEST

> From: Karl Fogel [mailto:kfogel@newton.ch.collab.net]
>
> "Bill Tutt" <rassilon@lyra.org> writes:
> > Yeah. Is there an issue that documents the work needed to add this
> > attribute to the entries file? I'm doing SVN work for the next two
weeks
> > (starting Monday) thanks to a vacation from my real life job, so
please
> > give me some direction here. :)
>
> Wow, awesome!
>
> There's no issue filed (yet), as this has just been tossed around in
> private conversation.
>
> Let me just make sure: we're talking about the splitting of URLs into
> BaseURL and FS_Path, where the BaseURL is everything up to the root of
> the repository, and the FS_Path is the path within the repository,
> right?
>

Could do it that way, you could also store the BaseURL and the entire
URL like we do now. I don't know which way is preferable. Greg might
have some useful info to add here.

> The simplest solution is to store them separately in the entries file.
> Currently, an entry has a single URL field, like this:
>
> <entry
> committed-rev="2024"
> name="blah"
> committed-date="blah"
>
url="http://svn.collab.net/repos/svn/trunk/subversion/libsvn_client"
> last-author="jrandom"
> kind="dir"
> prop-time="blah"
> revision="2030"/>
>
> That would change to:
>
> <entry
> committed-rev="2024"
> name="blah"
> committed-date="blah"
> base-url="http://svn.collab.net/repos/svn/"
> fs-path="/trunk/subversion/libsvn_client"
> last-author="jrandom"
> kind="dir"
> prop-time="blah"
> revision="2030"/>
>
> (Dunno about the trailing or leading slash, but whatever.)
>
> Of course, you can't tell from looking at a URL where the dividing
> line is. In fact, the present client never finds it out -- only the
> repository code ever knows. So the main change here is that this
> information needs to be communicated back to the client somehow (at
> least during the initial checkout, possibly under other circumstances
> as well?), presumably without adding yet another network turnaround.
>
> Does this help?
>

Yeah, it tells me to ask Greg (or anybody else who knows) which bits of
the mod_dav_svn code path need to change to spit the data out. Or indeed
just figure it out if I need to. :)

Thanks,
Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:25:11 2002

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.