[BUG] bzr add doesn't print filenames that are added

Michael Ellerman michael at ellerman.id.au
Wed Aug 31 07:36:01 BST 2005


Hi Martin,

bzr add doesn't print the files added anymore. Looks like it broke whenever
the callback stuff went in, smart_add() isn't passing the callback through
to smart_add_branch() properly. The dangers of default parameter values.

cheers

*** modified file 'bzrlib/add.py'
--- bzrlib/add.py 
+++ bzrlib/add.py 
@@ -60,7 +60,7 @@
     """
     file_list = _prepare_file_list(file_list)
     b = Branch(file_list[0], find_root=True)
-    return smart_add_branch(b, file_list, verbose, recurse)
+    return smart_add_branch(b, file_list, verbose, recurse, callback)
         
 def smart_add_branch(branch, file_list, verbose=True, recurse=True,
                      callback=_NullAddCallback):





More information about the bazaar mailing list