Comment 1 for bug 438569

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 438569] [NEW] bzr gives internal error on fifo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/

iEUEARECAAYFAkrCHWwACgkQJdeBCYSNAAPdVgCYlb/q2xcLH25dtOvNR8yELh8l
RwCfTOs0br/X1KY/WOnKjcRwopjQsaU=
=pR4t
-----END PGP SIGNATURE-----