/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/tests/per_workingtree/test_changes_from.py

  • Committer: Martin von Gagern
  • Date: 2010-04-20 08:47:38 UTC
  • mfrom: (5167 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5195.
  • Revision ID: martin.vgagern@gmx.net-20100420084738-ygymnqmdllzrhpfn
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Test Tree.changes_from() for WorkingTree specific scenarios."""
18
18
 
19
19
from bzrlib import revision
20
 
from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
 
20
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
21
21
 
22
22
 
23
23
class TestChangesFrom(TestCaseWithWorkingTree):
24
 
    
 
24
 
25
25
    def setUp(self):
26
26
        super(TestChangesFrom, self).setUp()
27
27
        self.tree = self.make_branch_and_tree('tree')
43
43
        self.build_tree(['tree/unknown'])
44
44
        empty_tree = self.tree.branch.repository.revision_tree(
45
45
                        revision.NULL_REVISION)
46
 
                        
 
46
 
47
47
        # If a specific_files list is present, even if none of the
48
48
        # files are versioned, only paths that are present in the list
49
49
        # should be compared