815: Use bug numbers to form the filename while downloading the diff

onkar******@gmai***** (Google Code) (Is this you? Claim this profile.)
July 26, 2009
http://reviews.review-board.org/

Describe the enhancement and the motivation for it.
Currently when I download the diff from any review request, the file name
is always 'diff'. This is actually the value from name field from
diffviewer_diffset table for the particular review request. But I have not
yet encountered any review request in my setup for which the name is
anything other than 'diff. So this causes an inconvenience that I have to
change the name of file every time I download the diff.

The proposed solution is to form the file name using bug numbers and adding
extension .patch.
ex. bug123.patch for review closing single bug.
ex. bug123_456.patch for review closing multiple bugs.

What operating system are you using? What browser?
Ubuntu, Firefox.
david
#1 david
  • -Type-Defect
    +Type-Enhancement
david
#2 david
  • +Fixed