Rev 2576: Really really change the command to use the new API. in sftp://rookery/~/public_html/baz2.0/add

Robert Collins robertc at robertcollins.net
Wed Jul 4 05:28:59 BST 2007


At sftp://rookery/~/public_html/baz2.0/add

------------------------------------------------------------
revno: 2576
revision-id: robertc at robertcollins.net-20070704042857-w5472bxutvhxrl2y
parent: robertc at robertcollins.net-20070704024326-czaqy9flaooda2jj
committer: Robert Collins <robertc at robertcollins.net>
branch nick: add
timestamp: Wed 2007-07-04 14:28:57 +1000
message:
  Really really change the command to use the new API.
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2007-07-04 01:39:50 +0000
+++ b/bzrlib/builtins.py	2007-07-04 04:28:57 +0000
@@ -389,7 +389,7 @@
                 tree = WorkingTree.open_containing(file_list[0])[0]
             else:
                 tree = WorkingTree.open_containing(u'.')[0]
-            added, ignored = bzrlib.add.smart_add_tree(tree, file_list, not
+            added, ignored = tree.smart_add(file_list, not
                 no_recurse, action=action, save=not dry_run)
         finally:
             if base_tree is not None:



More information about the bazaar-commits mailing list