~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 09:59:49 UTC
  • Revision ID: mbp@sourcefrog.net-20050519095949-2aaed7613265e594
- More cleanups for set type

- Clean up Inventory cmp method

- Remove the Inventory.id_set and Tree.id_set methods: don't built
  sets when just using the dictionaries will do.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
    from revision import Revision
170
170
    from branch import Branch
171
171
    from inventory import Inventory
172
 
    from bzrlib import set
173
172
 
174
 
    got_invs = set()
175
 
    got_texts = set()
 
173
    got_invs = {}
 
174
    got_texts = {}
176
175
 
177
176
    print 'read history'
178
177
    history = get_url('/.bzr/revision-history').readlines()
206
205
                print '  fetch %s text {%s}' % (path, text_id)
207
206
                text_f = get_url('/.bzr/text-store/%s' % text_id,
208
207
                                 compressed=True)
209
 
                got_texts.add(text_id)
 
208
                got_texts[text_id] = True
210
209
 
211
 
            got_invs.add(inv_id)
 
210
            got_invs.add[inv_id] = True
212
211
 
213
212
        print '----'
214
213