/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/repofmt/pack_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-02 15:49:06 UTC
  • mfrom: (3146.1.2 parents-provider-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20080102154906-hqiq6x2eammznjtg
ParentsProviders now provide tuples of parents, never lists (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1912
1912
        keys = set(keys)
1913
1913
        if _mod_revision.NULL_REVISION in keys:
1914
1914
            keys.discard(_mod_revision.NULL_REVISION)
1915
 
            found_parents = {_mod_revision.NULL_REVISION:[]}
 
1915
            found_parents = {_mod_revision.NULL_REVISION:()}
1916
1916
        else:
1917
1917
            found_parents = {}
1918
1918
        search_keys = set((revision_id,) for revision_id in keys)