bzr mv doesn't gracefully handle symlinks to directories in paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Aaron Bentley |
Bug Description
bzr mv attempts to find the children of a symlink when decoding a source path. This is probably a more general bug.
It seems as though we should
1. Give a better error (with traceback) when path2id attempts to find the children of a symlink
2. Determine the real path of source and target in 'bzr mv' before attempting to do path2id.
~$ bzr init foo
abentley@troll:~$ cd foo
abentley@
abentley@
abentley@
abentley@
added bar
added baz
added bar/qux
abentley@
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
tree.
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
file_id = inv.path2id(
File "/home/
cie = parent.children[f]
AttributeError: children
bzr 0.12.0dev0 on python 2.4.1.final.0 (linux2)
arguments: ['/home/
** please send this report to <email address hidden>
Changed in bzr: | |
assignee: | nobody → aaron-bentley |
status: | Unconfirmed → Fix Committed |
Changed in bzr: | |
importance: | Undecided → Medium |
merged into bzr.dev r2098