Branko Čibej wrote: >> URL: http://svn.apache.org/r1626023 >> Log: >> On the 'move-tracking-2' branch: Simplify editor shim usage by passing file >> content in memory instead of in temporary files. >> >> The shim code was leaving temporary files in /tmp. Managing temporary files >> correctly (for example, cleaning up even in case of error) is difficult, and >> handling of text content too big to fit in memory is unnecessary at this >> stage of development. > > This is why spillbufs exist, and why the serf push/pull adapter creates > tempfiles in .svn/tmp. Why don't you just use the same mechanism?
That occurred to me. For my purposes here the priority is ease of prototyping, and I'm more familiar with stringbuf semantics than with spillbuf. When we need release-quality code then presumably spillbuf is the way to go, I agree. - Julian