~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Aaron Bentley
  • Date: 2007-01-17 15:37:08 UTC
  • mto: This revision was merged to the branch mainline in revision 2239.
  • Revision ID: abentley@panoramicfeedback.com-20070117153708-4jni0ycaitv7xgra
change reserved_id to is_reserved_id, add check_not_reserved for DRY

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        self._access_mode = access_mode
61
61
 
62
62
    @staticmethod
63
 
    def reserved_id(version_id):
64
 
        return revision.reserved_id(version_id)
 
63
    def check_not_reserved_id(version_id):
 
64
        revision.check_not_reserved_id(version_id)
65
65
 
66
66
    def copy_to(self, name, transport):
67
67
        """Copy this versioned file to name on transport."""