Felix Möller wrote:
> Public bug reported:
>
> I did cd /etc; bzr init; bzr add *; bzr ci -m initial several days ago.
>
> Today I did an bzr diff /etc and it gave me:
> # bzr diff /etc/
> bzr: ERROR: exceptions.Exception: unknown kind fifo
>
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 835, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1030, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 647, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1045, in ignore_pipe
> result = func(*args, **kwargs)
> File "/usr/lib/python2.6/site-packages/bzrlib/builtins.py", line 1913, in run
> extra_trees=extra_trees, using=using)
> File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 432, in show_diff_trees
> return differ.show_diff(specific_files, extra_trees)
> File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 839, in show_diff
> return self._show_diff(specific_files, extra_trees)
> File "/usr/lib/python2.6/site-packages/bzrlib/diff.py", line 862, in _show_diff
> executable) in sorted(iterator, key=changes_key):
> File "_dirstate_helpers_pyx.pyx", line 1349, in _dirstate_helpers_pyx.ProcessEntryC.__next__
> File "_dirstate_helpers_pyx.pyx", line 1614, in _dirstate_helpers_pyx.ProcessEntryC._iter_next
> File "_dirstate_helpers_pyx.pyx", line 1704, in _dirstate_helpers_pyx.ProcessEntryC._loop_one_block
> File "_dirstate_helpers_pyx.pyx", line 1175, in _dirstate_helpers_pyx.ProcessEntryC._process_entry
> Exception: unknown kind fifo
>
Interesting. My best guess is that you added something that used to be a
file, and has since turned into a FIFO. (We automatically skip over FIFO
during add, but something at a given path can always turn into something
else.)
Thanks for the report.
status confirmed
importance high
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Felix Möller wrote: Exception: unknown kind fifo python2. 6/site- packages/ bzrlib/ commands. py", line 835, in exception_ to_return_ code python2. 6/site- packages/ bzrlib/ commands. py", line 1030, in run_bzr python2. 6/site- packages/ bzrlib/ commands. py", line 647, in run_argv_aliases **all_cmd_ args) python2. 6/site- packages/ bzrlib/ commands. py", line 1045, in ignore_pipe python2. 6/site- packages/ bzrlib/ builtins. py", line 1913, in run extra_trees, using=using) python2. 6/site- packages/ bzrlib/ diff.py" , line 432, in show_diff_trees show_diff( specific_ files, extra_trees) python2. 6/site- packages/ bzrlib/ diff.py" , line 839, in show_diff diff(specific_ files, extra_trees) python2. 6/site- packages/ bzrlib/ diff.py" , line 862, in _show_diff helpers_ pyx.pyx" , line 1349, in _dirstate_ helpers_ pyx.ProcessEntr yC.__next_ _ helpers_ pyx.pyx" , line 1614, in _dirstate_ helpers_ pyx.ProcessEntr yC._iter_ next helpers_ pyx.pyx" , line 1704, in _dirstate_ helpers_ pyx.ProcessEntr yC._loop_ one_block helpers_ pyx.pyx" , line 1175, in _dirstate_ helpers_ pyx.ProcessEntr yC._process_ entry
> Public bug reported:
>
> I did cd /etc; bzr init; bzr add *; bzr ci -m initial several days ago.
>
> Today I did an bzr diff /etc and it gave me:
> # bzr diff /etc/
> bzr: ERROR: exceptions.
>
> Traceback (most recent call last):
> File "/usr/lib/
> return the_callable(*args, **kwargs)
> File "/usr/lib/
> ret = run(*run_argv)
> File "/usr/lib/
> return self.run(
> File "/usr/lib/
> result = func(*args, **kwargs)
> File "/usr/lib/
> extra_trees=
> File "/usr/lib/
> return differ.
> File "/usr/lib/
> return self._show_
> File "/usr/lib/
> executable) in sorted(iterator, key=changes_key):
> File "_dirstate_
> File "_dirstate_
> File "_dirstate_
> File "_dirstate_
> Exception: unknown kind fifo
>
Interesting. My best guess is that you added something that used to be a
file, and has since turned into a FIFO. (We automatically skip over FIFO
during add, but something at a given path can always turn into something
else.)
Thanks for the report.
status confirmed
importance high
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
CHWwACgkQJdeBCY SNAAPdVgCYlb/ q2xcLH25dtOvNR8 yELh8l X1KY/WOnKjcRwop jQsaU=
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEUEARECAAYFAkr
RwCfTOs0br/
=pR4t
-----END PGP SIGNATURE-----