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

Bug in update_editor.c:change_dir_prop?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-02-08 20:37:11 CET


I'm looking at change_dir_prop in the delta_editor in
update_editor.c. The logic is

   if propname is wc prop (e.g svn:wc:ra_dav:version-url)
      store immediately in .svn/dir-wcprops
   else if propname is entry prop (e.g. committed-rev)
      store immediately in .svn/entries
      cache in the access baton and store during close_directory

Is it correct to store entry props in the entries file immediately?
What if the update is interrupted? If that happens the directory will
retain its original revision, but will have entry props for some other
revision. Does this matter? Should entry props be cached and only
stored in close_directory?

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 8 20:37:52 2003

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