/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/uncommit.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-15 16:52:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4560.
  • Revision ID: john@arbash-meinel.com-20090715165226-ot2qb72eexefm2im
Add AbsentContentFactory.get_bytes_as()

This at least gives us an exception that describes what key is missing,
rather than giving us a generic 'AttributeError'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
# TODO: make the guts of this methods on tree, branch.
20
20
 
 
21
import os
 
22
 
21
23
from bzrlib import (
22
24
    errors,
23
25
    revision as _mod_revision,