bzr shell crashes with single quote command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BzrTools |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Here is what I get with bzr and bzrtools to 1.4:
bzr shell
> '
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
commands.
File "/home/
return self.run(
File "/home/
return shell.run_shell()
File "/home/
prompt.
File "cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "cmd.py", line 213, in onecmd
return self.default(line)
File "/home/
args = shlex.split(line)
File "shlex.py", line 279, in split
return list(lex)
File "shlex.py", line 269, in next
token = self.get_token()
File "shlex.py", line 96, in get_token
raw = self.read_token()
File "shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
bzr 1.4 on python 2.5.1 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /home/david/
fastimport /home/david/
gnulog /home/david/
gtk /home/david/
launchpad /home/david/
multiparent /usr/lib/
qbzr /home/david/
svn /home/david/
usertest /home/david/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
/------
Occured in the windows release as well: Bazaar (bzr) 1.7, Python interpreter: 2.5.2
Seems like the limit of argument length is about 32224 bytes. When trying to add a LOT of files, commit fails. (In the status message, filenames get truncated at the above mentioned number of characters.) Revert also fails for the same reason.
Related branches
description: | updated |
Changed in bzrtools: | |
status: | New → Fix Committed |
Changed in bzrtools: | |
status: | Fix Committed → Fix Released |