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

Re: libsvn_wc update strategy

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-09-29 21:00:09 CEST

Greg Hudson <ghudson@MIT.EDU> writes:
> Yeah, it helps if I read it right.
>
> I'm a little unclear on how the current window_handler() opens
> tmp/text instead of the real text-base, though.

This call:

  err = svn_wc__open_text_base (&dest,
                                fb->path,
                                (APR_WRITE | APR_APPEND | APR_CREATE),
                                window->pool);

opens the file in the tmp area, not the real text-base area. *Any*
call to svn_wc__open_text_base() that passes a write flag gets a
handle into a file in the tmp area. When you close the file, you have
the option (by passing the `sync' flag) of copying it over to the real
text-base, otherwise you can call svn_wc__sync_text_base().
Received on Sat Oct 21 14:36:09 2006

This is an archived mail posted to the Subversion Dev mailing list.