~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Gordon Tyler
  • Date: 2010-05-03 04:51:58 UTC
  • mto: This revision was merged to the branch mainline in revision 5207.
  • Revision ID: gordon@doxxx.net-20100503045158-q9smvxm7oelm8nm5
Fixed preservation of existing line endings and added tests for that and Unicode handling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        return set(self._repository.get_ancestry(self._revision_id,
175
175
                                                 topo_sorted=False))
176
176
 
177
 
    def is_locked(self):
178
 
        return self._repository.is_locked()
179
 
 
180
177
    def lock_read(self):
181
178
        self._repository.lock_read()
182
 
        return self
183
179
 
184
180
    def __repr__(self):
185
181
        return '<%s instance at %x, rev_id=%r>' % (