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

Re: svn commit: r36517 - trunk/subversion/libsvn_wc

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 13 Mar 2009 10:32:43 -0500

On Mar 13, 2009, at 10:30 AM, Daniel Rall wrote:

> On Fri, Mar 13, 2009 at 8:15 AM, Hyrum K. Wright
> <hyrum_wright_at_mail.utexas.edu> wrote:
>> On Mar 12, 2009, at 6:34 PM, Greg Stein wrote:
> ...
>>> When you write properties, then you've got a whole different issue.
>>> Those always go into ACTUAL, but props might not be there (yet). So
>>> you may have to INSERT a copy of them. Or maybe a row exists, so you
>>> need to UPDATE the props column to create an initial value. That
>>> initial value comes form WORKING or from BASE. Then, after the copy,
>>> you can update props in ACTUAL.
>> Okay, that makes sense, and I'll update svn_wc__db_op_set_props()
>> accordingly. I presume that svn_wc__db_op_set_prop() just does the
>> same thing, but replaces the given prop, such as is already
>> happening.
> "INSERT OR REPLACE" syntax might be helpful for implementation here.
> http://www.sqlite.org/lang_replace.html
> http://www.sqlite.org/lang_insert.html

Possibly. We're already using that syntax a number of places in


Received on 2009-03-13 16:33:03 CET

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