subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <>
Subject Re: Pristine store - using it
Date Tue, 23 Mar 2010 18:57:28 GMT
On Fri, 2010-03-05, Julian Foad wrote:
> I (Julian Foad) wrote:
> [...]
> >   I've converted svn_wc__open_writable_base() to use a generic temp dir
> > and unique file name, rather than a WC-1-specific path, and made all
> > three places use it for their WC-1 temp base file, it all still works.
> > 
> >   OK, that bit works. That's a bit neater. Committed in r919413.
> A problem:
> In doing this, I made the temporary text-bases live at arbitrary paths
> rather than the special paths where they lived before.
> There is still one code path that looks on disk at the special text-base
> temp path, to see if there is a file there. After this change, there
> probably won't ever be. The code path is in
> workqueue.c:install_committed_file() - see it calling
> svn_wc__text_base_path(..., tmp=TRUE, ...) to find the special path.
> There is still one code path that *puts* a file at that special place.
> It is adm_crawler.c:svn_wc__internal_transmit_text_deltas().
> I'm looking to see whether this is a real problem. It's remotely
> possible that the two remaining code paths (above) always go together
> and thus no problem, but that's unlikely. As the code paths are a little
> hard to follow, I may just end up assuming that there is a problem, and
> go on to fix it.

For the record, in r926637 I re-committed this patch, having determined
that in fact it is OK and those two uses of the "special place"
mentioned above do in fact always go together.

- Julian

View raw message