Remember the previously stored base diff path.

Review Request #1172 — Created Oct. 17, 2009 and submitted — Latest diff uploaded

Information

Review Board
master
365

Reviewers

Remember the previously stored base diff path.

Users who use the Upload Diff form instead of post-review against Subversion
repositories (and others) have to type a base diff path every time, which
can be annoying. This change stores the base diff path on uploads and re-uses
it as the default for the field the next time the user goes to upload a
diff.
Uploaded a diff with a base path. Next time I went to upload, I saw the previous base path.

Unit tests all pass.
reviewboard/diffviewer/forms.py
reviewboard/diffviewer/models.py
reviewboard/diffviewer/evolutions/__init__.py
reviewboard/diffviewer/evolutions/diffset_basedir.py
reviewboard/reviews/forms.py
reviewboard/reviews/views.py
reviewboard/webapi/json.py
Loading...