2245: API Request: Ability to determine the base directory a patch was created from

Lesle******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 8, 2013
http://reviews.reviewboard.org/


What version are you running?
1.5.2

What's the URL of the page this enhancement relates to, if any?
http://www.reviewboard.org/docs/manual/1.5/webapi/2.0/resources/diff/

Describe the enhancement and the motivation for it.
I'm working on an app that downloads diffs from rb and applies them to my local sandbox. Currently, there's no way to tell what directory the patch was created from without looking at the website. The diff API tells us the repository, but it would be extremely useful if it told you the base directory the diff was created from as well

What operating system are you using? What browser?


Please provide any additional information below.
david
#1 david
  • +Component-API
david
#2 david
In 1.7.x, the DiffResource has a basedir field, which should be what you want.
  • +Fixed