[darcs-devel] [issue1488] fromJust error in WhatsNew (apply_to_slurpy)
Marnix Klooster
bugs at darcs.net
Tue Sep 8 18:57:21 UTC 2009
Marnix Klooster <marnix.klooster+bugs.darcs.net at gmail.com> added the comment:
By logging all executions of the darcs binary, I found out that zsh completion
(on my Ubuntu 9.04 system implemented in script
/usr/share/zsh/functions/Completion/Unix/_darcs) does a 'whatsnew -sl .' command
in the not-yet-added Foo/Bar directory, which triggers the bug. So a simple
reproduction scenario is:
rm -fr darcstest
mkdir -p darcstest/Foo/Bar
cd darcstest
darcs init
cd Foo/Bar
darcs whatsnew -sl .
And also with my current darcs version...
$ darcs --exact-version
darcs compiled on Jul 25 2009, at 07:50:22
Context:
[TAG 2.3.0
Petr Rockai <me at mornfall.net>**20090723115125
Ignore-this: e326d4ddff92c578e8fe8a3c23d00193
]
$
...this results in the reported error message:
WARNING: File 'Foo/Bar' not in repository!
What's new in "Foo/Bar":
darcs: bug at src/Darcs/Commands/WhatsNew.lhs:130 compiled Jul 25 2009 07:50:26
fromJust error at src/Darcs/Commands/WhatsNew.lhs:130 compiled Jul 25 2009
07:50:26
See http://wiki.darcs.net/index.html/BugTrackerHowto for help on bug reporting.
----------
nosy: +marnix
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1488>
__________________________________
More information about the darcs-devel
mailing list