bzr add gives "no such file" when working in a view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Failure scenario:
$ cd trunk
$ cd Project
$ bzr view Subdir
Using 'my' view: Project/Subdir
$ cd Subdir
$ bzr add myfile
bzr: ERROR: Specified file "version" is outside the current view: Project/Subdir
Problem:
myfile is located inside my Project/Subdir view, but bzr add says it's not.
OS is ubuntu linux 11.10
Bazaar is 2.5b2
Traceback:
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
tree, file_list = tree_files_
File "/usr/lib/
raise errors.
FileOutsideView: Specified file "test" is outside the current view: Project/Subdir
tags: | added: check-for-breezy |
Steps to reproduce:
bzr init branch
cd branch
bzr mkdir d
bzr view d
touch d/f
cd d
bzr add f
However adding d/f from the base directory works, so seems to be a bug with views and relative paths in add.