Re: [fossil-dev] Possible bug in fossil json wiki diff

2016-01-28 Thread Stephan Beal
On Thu, Jan 28, 2016 at 9:17 PM, Ross Berteig wrote: > I'm ok with declaring the CLI as effectively having 's'. I just wanted > confirmation that it was expected before I baked it into a test case that > way. > i think we have to accept it, at least for the time being. (Wait... didn't Palpatine

Re: [fossil-dev] Possible bug in fossil json wiki diff

2016-01-28 Thread Ross Berteig
On 1/28/2016 5:02 AM, Stephan Beal wrote: Related: https://www.fossil-scm.org/index.html/info/9b8b051899ca59b4 Hmmm. The test code: # json cap # Bug? The CLI user has all rights, and no auth token affects that. write_file u2 [subst { {"command":"cap", "authToken":"[dict get $Auth

Re: [fossil-dev] Possible bug in fossil json wiki diff

2016-01-28 Thread Stephan Beal
On Thu, Jan 28, 2016 at 2:21 AM, Ross Berteig wrote: > In my test case, I use /json/wiki/create and /json/wiki/save to create and > update a page named "Page2". I then inspect the change I made with > /json/wiki/diff/uuid1/uuid2 the UUIDs match the parent and uuid fields > returned from /json/wik

Re: [fossil-dev] Possible bug in fossil json wiki diff

2016-01-28 Thread Stephan Beal
On Thu, Jan 28, 2016 at 2:21 AM, Ross Berteig wrote: > The documentation for /json/wiki/diff/v1/v2 says that v1 and v2 are the > UUIDs of wiki page versions, and that the diff is from v1 to v2. > Testing has commenced! > Which would seem to read as the deletion of a line, not the insertion of