FAIL: test_shelve (bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools) vvvv[log from bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_shelve] run bzr: ['init'] bzr arguments: ['init'] encoding stdout as sys.stdout encoding 'UTF-8' created control directory in file:///tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work/ creating repository in file:///tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work/.bzr/. creating branch in file:///tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work/.bzr/ trying to create missing lock '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work/.bzr/checkout/dirstate' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' run bzr: ['commit', '-m', 'uc', '--unchanged'] bzr arguments: ['commit', '-m', 'uc', '--unchanged'] encoding stdout as sys.stdout encoding 'UTF-8' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' preparing to commit Selecting files for commit with filter None added revision_id {ian@possum-20070713042128-s1ozvvt583whtbwn} INFO Committed revision 1. errors: 'Committed revision 1.\n' run bzr: ['shelve', '-r', '1', '-m', 'foo', '--all'] bzr arguments: ['shelve', '-r', '1', '-m', 'foo', '--all'] encoding stdout as sys.stdout encoding 'UTF-8' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' Traceback (most recent call last): File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 729, in run_bzr_catch_errors return run_bzr(argv) File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 691, in run_bzr ret = run(*run_argv) File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 389, in run_argv_aliases return self.run(**all_cmd_args) File "/home/ian/.bazaar/plugins/bzrtools/__init__.py", line 267, in run s.shelve(source, all, message, no_color) File "/home/ian/.bazaar/plugins/bzrtools/shelf.py", line 203, in shelve patches = patch_source.readpatches() File "/home/ian/.bazaar/plugins/bzrtools/patchsource.py", line 14, in readpatches return patches.parse_patches(self.readlines()) File "/home/ian/.bazaar/plugins/bzrtools/patchsource.py", line 53, in readlines old_label='', new_label='') File "/home/ian/bzr/bzr.dev/bzrlib/diff.py", line 403, in show_diff_trees extra_trees=extra_trees) File "/home/ian/bzr/bzr.dev/bzrlib/diff.py", line 434, in _show_diff_trees extra_trees=extra_trees, require_versioned=True) File "/home/ian/bzr/bzr.dev/bzrlib/tree.py", line 91, in changes_from want_unversioned=want_unversioned, File "/home/ian/bzr/bzr.dev/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/home/ian/bzr/bzr.dev/bzrlib/tree.py", line 584, in compare require_versioned=require_versioned) File "/home/ian/bzr/bzr.dev/bzrlib/workingtree_4.py", line 878, in paths2ids return super(WorkingTree4, self).paths2ids(paths, trees, require_versioned) File "/home/ian/bzr/bzr.dev/bzrlib/tree.py", line 291, in paths2ids return find_ids_across_trees(paths, [self] + list(trees), require_versioned) File "/home/ian/bzr/bzr.dev/bzrlib/tree.py", line 486, in find_ids_across_trees require_versioned) File "/home/ian/bzr/bzr.dev/bzrlib/tree.py", line 513, in _find_ids_across_trees raise errors.PathsNotVersionedError(not_versioned) PathsNotVersionedError: Path(s) are not versioned: foo errors: 'bzr: ERROR: Path(s) are not versioned: foo\n' run bzr: ['add', 'foo'] bzr arguments: ['add', 'foo'] encoding stdout as sys.stdout encoding 'UTF-8' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' output: 'added foo\n' run bzr: ['commit', '-m', 'foo'] bzr arguments: ['commit', '-m', 'foo'] encoding stdout as sys.stdout encoding 'UTF-8' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' preparing to commit Selecting files for commit with filter None INFO added foo added revision_id {ian@possum-20070713042128-vksr9nr0k9uuerd3} INFO Committed revision 2. errors: 'added foo\nCommitted revision 2.\n' run bzr: ['shelve', '-r', '1', '-m', 'foo', '--all'] bzr arguments: ['shelve', '-r', '1', '-m', 'foo', '--all'] encoding stdout as sys.stdout encoding 'UTF-8' opening working tree '/tmp/testbzr-5JUbEU.tmp/tmpgxG8Dl/work' Traceback (most recent call last): File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 729, in run_bzr_catch_errors return run_bzr(argv) File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 691, in run_bzr ret = run(*run_argv) File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 389, in run_argv_aliases return self.run(**all_cmd_args) File "/home/ian/.bazaar/plugins/bzrtools/__init__.py", line 267, in run s.shelve(source, all, message, no_color) File "/home/ian/.bazaar/plugins/bzrtools/shelf.py", line 223, in shelve assert '\n' not in message TypeError: argument of type 'bool' is not iterable errors: 'Shelving to default/00: "True"\nbzr: ERROR: exceptions.TypeError: argument of type \'bool\' is not iterable\n\nTraceback (most recent call last):\n File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 729, in run_bzr_catch_errors\n return run_bzr(argv)\n File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 691, in run_bzr\n ret = run(*run_argv)\n File "/home/ian/bzr/bzr.dev/bzrlib/commands.py", line 389, in run_argv_aliases\n return self.run(**all_cmd_args)\n File "/home/ian/.bazaar/plugins/bzrtools/__init__.py", line 267, in run\n s.shelve(source, all, message, no_color)\n File "/home/ian/.bazaar/plugins/bzrtools/shelf.py", line 223, in shelve\n assert \'\\n\' not in message\nTypeError: argument of type \'bool\' is not iterable\n\nbzr 0.19.0dev0 on python 2.5.1.final.0 (linux2)\narguments: [\'./bzr\', \'selftest\', \'shelve\']\n\n** please send this report to bazaar@lists.ubuntu.com\n' ^^^^[log from bzrlib.plugins.bzrtools.tests.blackbox.TestBzrTools.test_shelve] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ian/.bazaar/plugins/bzrtools/tests/blackbox.py", line 45, in test_shelve self.run_bzr('shelve -r 1 -m foo --all', retcode=0) AssertionError: Unexpected return code not equal: a = 0 b = 3