~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-15 16:32:29 UTC
  • mfrom: (1731.1.67 unique-root)
  • Revision ID: pqm@pqm.ubuntu.com-20061015163229-648b1f2ebe692136
New trees have unique root ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
1291
1291
        for file_id in inv:
1292
1292
            if file_id in basis_inv:
1293
1293
                continue
 
1294
            if inv.is_root(file_id) and len(basis_inv) == 0:
 
1295
                continue
1294
1296
            path = inv.id2path(file_id)
1295
1297
            if not os.access(osutils.abspath(path), os.F_OK):
1296
1298
                continue
1503
1505
            tree = tree.branch.repository.revision_tree(
1504
1506
                revision[0].in_history(tree.branch).rev_id)
1505
1507
 
1506
 
        for fp, fc, kind, fid, entry in tree.list_files():
 
1508
        for fp, fc, kind, fid, entry in tree.list_files(include_root=False):
1507
1509
            if fp.startswith(relpath):
1508
1510
                fp = fp[len(relpath):]
1509
1511
                if non_recursive and '/' in fp: