[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-05-29 18:09:15 CEST

"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?

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?

-K

---------------------------------------------------------------------
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:19 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.