bzr rm \\ crashes with IndexError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
bazaar can't remove a file named '\' intuitively.
$ touch \\
$ bzr add \\
$ bzr rm \\
bzr quits with the attached error report.
Torsten
--
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
force=
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
(None, splitpath(
IndexError: list index out of range
bzr 1.0.0.candidate.1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'rm', '\\']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_CA.UTF-8'
plugins:
builddeb /home/spindler/
bzrtools /usr/lib/
gtk /home/spindler/
launchpad /usr/lib/
multiparent /usr/lib/
xmloutput /home/spindler/
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
Related branches
- Martin Packman: Approve
-
Diff: 111 lines (+50/-6)5 files modifiedbreezy/osutils.py (+11/-5)
breezy/tests/blackbox/test_add.py (+13/-0)
breezy/tests/blackbox/test_remove.py (+13/-0)
breezy/tests/test_osutils.py (+4/-1)
doc/en/release-notes/brz-3.0.txt (+9/-0)
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: rm |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: |
added: filenames removed: check-for-breezy |
Changed in brz: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in brz: | |
status: | Triaged → Fix Committed |
milestone: | none → 3.0.0 |
Changed in brz: | |
status: | Fix Committed → Fix Released |
Related to bug 165151 ?