On Tue, May 13, 2003 at 01:31:41PM -0500, Ben Collins-Sussman wrote:
>
> I'm about to make major changes to update_editor.c.
>
> * add_dir() will immediately add an entry to the parent's entries
> file, and create a new directory containing an entries file with
> only a THIS_DIR entry at update's target-revnum, with an
> 'incomplete=true' attribute.
>
> * open_dir() will immediately mark the directory as incomplete, and as
> being at the update's target-revnum
>
> * close_dir() will still call maybe_bump_dir_info()
>
> * maybe_bump_dir_info() will remove the 'incomplete' flag if the dir's
> refcount hits zero (rather than changing the revnum)
>
> Dunno if this has weird affects regarding your patch....?
if the process is interrupted inbetween open_dir and close_dir,
leaving the directory marked as incomplete (and at the target revnum),
what happens when you run 'update' again?
(i assume that dealing with this case is one reason for the 'incomplete'
flag, but how does it work?)
-brian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 00:53:14 2003