~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remotebranch.py

  • Committer: Martin Pool
  • Date: 2005-05-19 06:37:21 UTC
  • Revision ID: mbp@sourcefrog.net-20050519063721-555aeba2dc1f659d
- use builtin set object in python2.4 
  (suggested by Mario Pernici)
- clean up some uses of set() that can simply be lists or dicts
- remove some imports from the bzrlib namespace 

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
 
27
27
import gzip
28
 
from sets import Set
29
28
from cStringIO import StringIO
30
29
import urllib2
31
30
 
170
169
    from revision import Revision
171
170
    from branch import Branch
172
171
    from inventory import Inventory
 
172
    from bzrlib import set
173
173
 
174
 
    got_invs = Set()
175
 
    got_texts = Set()
 
174
    got_invs = set()
 
175
    got_texts = set()
176
176
 
177
177
    print 'read history'
178
178
    history = get_url('/.bzr/revision-history').readlines()