~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_unversion.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-01 08:02:42 UTC
  • mfrom: (5390.3.3 faster-revert-593560)
  • Revision ID: pqm@pqm.ubuntu.com-20100901080242-esg62ody4frwmy66
(spiv) Avoid repeatedly calling self.target.all_file_ids() in
 InterTree.iter_changes. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
18
18
 
19
19
from bzrlib import (
20
20
    errors,
 
21
    osutils,
21
22
    )
22
23
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
23
24
 
41
42
        # unversioning children of reparented children of unversioned
42
43
        # paths when relocation entries are present and the relocation
43
44
        # points later into the dirstate.
44
 
        tree = self.make_branch_and_tree('.')
 
45
        tree = self.make_branch_and_tree(['.'])
45
46
        self.build_tree(['del/', 'del/sub/', 'del/sub/b'])
46
47
        tree.add(['del', 'del/sub', 'del/sub/b'], ['del', 'sub', 'b'])
47
48
        tree.commit('setup')