Rev 2569: Remove unused references to smart_add. in sftp://rookery/~/public_html/baz2.0/add
Robert Collins
robertc at robertcollins.net
Mon Jul 2 23:05:47 BST 2007
At sftp://rookery/~/public_html/baz2.0/add
------------------------------------------------------------
revno: 2569
revision-id: robertc at robertcollins.net-20070702220543-bbal5fjb73rsl1s5
parent: pqm at pqm.ubuntu.com-20070702070639-um9oyfoc2i6g8umv
committer: Robert Collins <robertc at robertcollins.net>
branch nick: add
timestamp: Tue 2007-07-03 08:05:43 +1000
message:
Remove unused references to smart_add.
modified:
bzrlib/tests/test_smart_add.py test_smart_add.py-20050824235919-c60dcdb0c8e999ce
=== modified file 'bzrlib/tests/test_smart_add.py'
--- a/bzrlib/tests/test_smart_add.py 2007-06-26 10:12:33 +0000
+++ b/bzrlib/tests/test_smart_add.py 2007-07-02 22:05:43 +0000
@@ -22,7 +22,6 @@
from bzrlib.add import (
AddAction,
AddFromBaseAction,
- smart_add,
smart_add_tree,
)
from bzrlib.tests import TestCase, TestCaseWithTransport, TestSkipped
@@ -44,7 +43,6 @@
def test_add_dot_from_subdir(self):
"""Test adding . from a subdir of the tree."""
- from bzrlib.add import smart_add
paths = ("original/", "original/file1", "original/file2")
self.build_tree(paths)
wt = self.make_branch_and_tree('.')
@@ -55,7 +53,6 @@
def test_add_tree_from_above_tree(self):
"""Test adding a tree from above the tree."""
- from bzrlib.add import smart_add
paths = ("original/", "original/file1", "original/file2")
branch_paths = ("branch/", "branch/original/", "branch/original/file1",
"branch/original/file2")
@@ -67,7 +64,6 @@
def test_add_above_tree_preserves_tree(self):
"""Test nested trees are not affect by an add above them."""
- from bzrlib.add import smart_add
paths = ("original/", "original/file1", "original/file2")
child_paths = ("path",)
full_child_paths = ("original/child", "original/child/path")
@@ -89,7 +85,6 @@
def test_add_paths(self):
"""Test smart-adding a list of paths."""
- from bzrlib.add import smart_add
paths = ("file1", "file2")
self.build_tree(paths)
wt = self.make_branch_and_tree('.')
@@ -120,7 +115,6 @@
def test_add_non_existant(self):
"""Test smart-adding a file that does not exist."""
- from bzrlib.add import smart_add
wt = self.make_branch_and_tree('.')
self.assertRaises(NoSuchFile, smart_add_tree, wt, 'non-existant-file')
More information about the bazaar-commits
mailing list