commit | 04c4f09378536bddd4e14ca148d5e77bf283ef64 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Jan 06 20:23:30 2015 -0800 |
committer | Shawn Pearce <sop@google.com> | Tue Jan 06 20:23:30 2015 -0800 |
tree | 0fe50a4bd79975279f6c5ba7e7dfd2a6c5becf17 | |
parent | 817c2abd542b563362729a22783c24b16854e8ce [diff] |
Restrict /changes/{id}/revisions/{commit} one change If the same commit SHA-1 is pushed to multiple changes (e.g. different projects) the /revisions/ collection was failing to match by SHA-1 due to duplicate results. The parent ChangeResource provides a way to filter to more narrow result set, a revision is only valid if it is known to the parent change. Change-Id: I76607e31b38a373f0d23447f638ccb242a4083ac