Greg Stein <firstname.lastname@example.org> writes:
> On Wed, Apr 18, 2001 at 09:36:12PM -0000, email@example.com wrote:
> > User: sussman
> > Date: 01/04/18 14:36:12
> > Modified: subversion/libsvn_wc get_editor.c
> > Log:
> > (make_file_baton): duh, initialize wcprop array.
> > (close_file): move wcprop dumping to the end, *after* the log running
> > guarantees that the file already exists.
> While the props aren't versioned, we may want to consider a way to make
> their writing atomic.
It's worse than that; I just discovered today (I *think*) that ever
regular props aren't being written atomically.
I mean, I know that when the update editor receives normal user props,
it stores them (along with new text) in SVN/tmp/, and then a log file
is executed which atomically moves the new text and new props into
text-base/ and prop-base/. But when the user runs plain old "svn
propset foo bar A/mu", there's no atomicity. We read the propfile,
change it in RAM, then write it out again. Oops!
I should put this on my todo list.
Received on Sat Oct 21 14:36:29 2006