On Fri, Dec 9, 2011 at 3:13 PM, Michael Dürig <mdue...@apache.org> wrote: > > Hi, > > Currently the commit method look like this: > > String commit(String path, String jsonDiff, String revisionId, String > message) > > The path argument has to be an absolute path and the paths of the jsonDiff > operations are relative paths. The target path of the operations are > determined by concatenating the path with the paths of the jsonDiff > operations. > > To facilitate the usage of this API where only absolute paths are involved, > I suggest to expand the scope of the commit method such that the empty > string (or null?) is allowed for the path argument. In this case all > jsonDiff operations need to specify an absolute path.
sounds reasonable. probably easy to support, i'll check the current implementation. cheers stefan > > Michael