~mnordhoff/loggerhead/cheezum

« back to all changes in this revision

Viewing changes to loggerhead/history.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-07 18:46:20 UTC
  • mfrom: (128.4.15 no-more-bdb)
  • Revision ID: pqm@pqm.ubuntu.com-20070907184620-nu3n5io002ryctkx
[r=barry] stop using the bdb-backed shelve database for caching

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
        # if they entered a revid, just jump straight there; ignore the passed-in revid_list
368
368
        revid = self.fix_revid(query)
369
369
        if revid is not None:
 
370
            if isinstance(revid, unicode):
 
371
                revid = revid.encode('utf-8')
370
372
            changes = self.get_changes([ revid ])
371
373
            if (changes is not None) and (len(changes) > 0):
372
374
                return [ revid ]