~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Jelmer Vernooij
  • Date: 2011-02-19 17:37:45 UTC
  • mto: This revision was merged to the branch mainline in revision 5672.
  • Revision ID: jelmer@samba.org-20110219173745-q05eth8vohf7g4k6
Remove all methods and arguments that were deprecated before bzr 2.0.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
        """Upgrading of remote bzrdirs is not supported yet."""
452
452
        return False
453
453
 
454
 
    def needs_format_conversion(self, format=None):
 
454
    def needs_format_conversion(self, format):
455
455
        """Upgrading of remote bzrdirs is not supported yet."""
456
 
        if format is None:
457
 
            symbol_versioning.warn(symbol_versioning.deprecated_in((1, 13, 0))
458
 
                % 'needs_format_conversion(format=None)')
459
456
        return False
460
457
 
461
458
    def clone(self, url, revision_id=None, force_new_repo=False,
1372
1369
            find_ghosts=find_ghosts, revision_ids=revision_ids,
1373
1370
            if_present_ids=if_present_ids)
1374
1371
 
1375
 
    def fetch(self, source, revision_id=None, pb=None, find_ghosts=False,
 
1372
    def fetch(self, source, revision_id=None, find_ghosts=False,
1376
1373
            fetch_spec=None):
1377
1374
        # No base implementation to use as RemoteRepository is not a subclass
1378
1375
        # of Repository; so this is a copy of Repository.fetch().
1396
1393
        # the InterRepository base class, which raises an
1397
1394
        # IncompatibleRepositories when asked to fetch.
1398
1395
        inter = repository.InterRepository.get(source, self)
1399
 
        return inter.fetch(revision_id=revision_id, pb=pb,
 
1396
        return inter.fetch(revision_id=revision_id,
1400
1397
            find_ghosts=find_ghosts, fetch_spec=fetch_spec)
1401
1398
 
1402
1399
    def create_bundle(self, target, base, fileobj, format=None):