Add timestamp field to the DiffCommit model

Review Request #7130 — Created March 28, 2015 and submitted

Information

Review Board
dvcs
f2d82a3...

Reviewers

The DiffCommit model now has a timestamp field which will be used to
generate the HTTP last modified header for the associated patch. This
will allow the contents of the patch to be cached client-side.


 
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/diffviewer/models.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/diffviewer/models.py
    
    
  2. 
      
brennie
brennie
david
  1. I guess we're going to treat the merge of dvcs as an atomic event (meaning we don't care about evolutions here?)

    1. No one should be using this yet (as its still pretty broken) so it doesn't make sense to have evolutions.

  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to dvcs (39c3975)