Stefan Sperling wrote on Tue, Jun 21, 2011 at 10:29:24 +0200: > On Tue, Jun 21, 2011 at 01:15:06PM +0530, Arwin Arni wrote: > > Hi All, > > > > I am currently trying to implement "svn bisect" subcommand. Yes, I > > know there are some good scripts out there that work, but it's not > > part of our API. I figured this would be a decent addition to our > > code. Here are a few things I wanted to ask the community: > > > > 1. Would it be better if the command ran as a single process > > throughout the bisect operation and keep track of things in memory, > > or should it work like the scripts that are out there which keep > > track of things on disk (in a persistent file)? > > Depends on your requirements. I suppose bisect is supposed to > be restartable? If so it would probably make sense to stick > state somewhere into wc.db?
Would this need a new API --- something akin to 'svn ps --revprop -r0 tsvn:foo=bar', but specific to a working copy? I suppose this can be implemented either as a new svn_property_kind_ enum (hacky way) or as a new 'miscellaneous' annotations table (wc-ng way :)).