~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to lib/fileservice_lib/listing.py

  • Committer: wagrant
  • Date: 2008-07-17 06:28:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:910
filebrowser_lib: Send the current revision along with the listing if we
                 are a revision browser.
browser: Link to the currently selected revision of each file.

I think we are now a useful (and fairly complete) revision browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
    # Listing is a nested object inside the top-level JSON.
254
254
    listing = {"listing" : listing}
255
255
 
 
256
    if revision:
 
257
        listing['revision'] = revision.number
 
258
 
256
259
    # The other object is the clipboard, if present in the browser session.
257
260
    # This can go straight from the session to JSON.
258
261
    session = req.get_session()