/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/remote.py

  • Committer: Andrew Bennetts
  • Date: 2009-01-27 05:04:43 UTC
  • mfrom: (3960 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3981.
  • Revision ID: andrew.bennetts@canonical.com-20090127050443-3yw5hhk10ss23hzu
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
 
234
234
    def needs_format_conversion(self, format=None):
235
235
        """Upgrading of remote bzrdirs is not supported yet."""
 
236
        if format is None:
 
237
            symbol_versioning.warn(symbol_versioning.deprecated_in((1, 13, 0))
 
238
                % 'needs_format_conversion(format=None)')
236
239
        return False
237
240
 
238
241
    def clone(self, url, revision_id=None, force_new_repo=False,
1364
1367
        # will try to assign to self.tags, which is a property in this subclass.
1365
1368
        # And the parent's __init__ doesn't do much anyway.
1366
1369
        self._revision_id_to_revno_cache = None
 
1370
        self._partial_revision_id_to_revno_cache = {}
1367
1371
        self._revision_history_cache = None
1368
1372
        self._last_revision_info_cache = None
 
1373
        self._merge_sorted_revisions_cache = None
1369
1374
        self.bzrdir = remote_bzrdir
1370
1375
        if _client is not None:
1371
1376
            self._client = _client