~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-10-24 13:56:34 UTC
  • mto: (3928.1.1 bzr.integration)
  • Revision ID: v.ladeuil+lp@free.fr-20071024135634-d8os3by1g6f45q12
Fix python2.6 deprecation warnings (still 4 failures 5 errors in test suite).

* bzrlib/osutils.py: 
Wrap md5 and sha imports to be compatible with python 2.4, 2.5,
2.6.
Replace all sha.new() calls by sha() calls they are reputedly
faster (not profiled).

* bzrlib/weave.py: 
Update sha import, fix use.     

* bzrlib/transport/http/_urllib2_wrappers.py: 
Update sha and md5 imports, fix uses.

* bzrlib/tests/test_testament.py: 
Update sha import.

* bzrlib/tests/test_knit.py: 
Update sha import, fix uses.    

* bzrlib/tests/test_hashcache.py: 
Update sha import, fix use.     

* bzrlib/tests/repository_implementations/test_check_reconcile.py: 
Update sha import, fix use.     

* bzrlib/tests/HTTPTestUtil.py: 
Update md5 import, fix uses. Delete useless sha import.

* bzrlib/testament.py: 
Update sha import.

* bzrlib/hashcache.py: 
Update sha import.

* bzrlib/revisionspec.py:
(RevisionSpec.__new__): Remove useless parameters since python2.6
is stricter.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2432.2.9 17 years ago Andrew Bennetts Update protocol versioning docs to explain how unk 9.3 KB Diff Download File
branch.py 2872.5.3 17 years ago Martin Pool Pass back LockFailed from smart server lock method 5.9 KB Diff Download File
bzrdir.py 2432.4.5 17 years ago Robert Collins Make using SuccessfulSmartServerResponse and Faile 4 KB Diff Download File
client.py 2671.1.2 17 years ago Andrew Bennetts Compare URLs in RemoteRepository.__eq__, rather th 2.8 KB Diff Download File
medium.py 1551.18.17 17 years ago Aaron Bentley Introduce bzr_remote_path configuration variable 21 KB Diff Download File
protocol.py 2535.3.38 17 years ago Andrew Bennetts Merge from bzr.dev, resolving conflicts from pack 16.7 KB Diff Download File
repository.py 2535.3.71 17 years ago Andrew Bennetts Merge from bzr.dev. 9.8 KB Diff Download File
request.py 2535.3.71 17 years ago Andrew Bennetts Merge from bzr.dev. 12.7 KB Diff Download File
server.py 2634.1.1 17 years ago Robert Collins (robertc) Reinstate the accidentally backed out ex 9.3 KB Diff Download File
vfs.py 2052.6.2 17 years ago Robert Collins Merge bzr.dev. 6.1 KB Diff Download File