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

incomplete directory props

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-15 05:13:34 CEST

sussman@tigris.org writes:

> Continue work on issue #730: restartable checkouts.
>
> Still need to deal with making sure all dirprops are fetched for
> incomplete directories, that's coming up.

Actually, I'm not so sure we need to deal with this.

If the directory is incomplete, the client tells the server, and the
server assumes the directory has no entries and no props. The client
re-adds the entries it has, but not the props. This means the server
will automatically send *all* dir props back to the client.

Meanwhile, if you look at the way update_editor.c is set up -- notice
that all directory props are cached in memory until close_directory()
is called. So that means all the dirprops are either on disk, or
they're not; there's no in-between state. Then later on, long after
the dirprops are written to disk, the directory is marked valid.

So it doesn't matter where the editor gets interrupted. When 'svn up'
resumes the process, it will automatically receive all dirprops. If
there are no props on disk yet, that's fine; they'll be written out.
If there *are* a complete set of props on disk already, that's fine
too, they'll just be overwritten by another complete set.

So there's nothing to do here, right?

Hmmm, I guess this large glass of caffeine is working. I just can't
seem to stop mailing the dev list tonight. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 05:14:46 2003

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.