/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 breezy/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1177
1177
        # weave repositories refuse to store revisionids that are non-ascii.
1178
1178
        if revision_id is not None:
1179
1179
            # weaves require ascii revision ids.
1180
 
            if isinstance(revision_id, text_type):
 
1180
            if isinstance(revision_id, unicode):
1181
1181
                try:
1182
1182
                    revision_id.encode('ascii')
1183
1183
                except UnicodeEncodeError:
1303
1303
    supports_overriding_transport = True
1304
1304
    # Does the format support setting custom revision properties?
1305
1305
    supports_custom_revision_properties = True
1306
 
    # Does the format record per-file revision metadata?
1307
 
    records_per_file_revision = True
1308
1306
 
1309
1307
    def __repr__(self):
1310
1308
        return "%s()" % self.__class__.__name__