/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/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-18 04:36:29 UTC
  • mfrom: (2084.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20061018043629-1f09a4f1ce6e4566
(jam) new trees should not be created with unique roots, because it breaks old clients

Show diffs side-by-side

added added

removed removed

Lines of Context:
2100
2100
        branch = a_bzrdir.open_branch()
2101
2101
        if revision_id is None:
2102
2102
            revision_id = branch.last_revision()
2103
 
        inv = Inventory(root_id=gen_root_id())
 
2103
        # WorkingTree3 can handle an inventory which has a unique root id.
 
2104
        # as of bzr 0.12. However, bzr 0.11 and earlier fail to handle
 
2105
        # those trees. And because there isn't a format bump inbetween, we
 
2106
        # are maintaining compatibility with older clients.
 
2107
        # inv = Inventory(root_id=gen_root_id())
 
2108
        inv = Inventory()
2104
2109
        wt = WorkingTree3(a_bzrdir.root_transport.local_abspath('.'),
2105
2110
                         branch,
2106
2111
                         inv,