[darcs-devel] [issue1827] error is bad when a directory is replaced with a file
Drew Perttula
bugs at darcs.net
Thu Apr 22 05:22:44 UTC 2010
New submission from Drew Perttula <drewp at bigasterisk.com>:
Repro:
/tmp% darcs -v
2.3.0 (release)
/tmp% mkdir repo1
/tmp% cd repo1
/tmp/repo1% darcs init
/tmp/repo1% mkdir d
/tmp/repo1% touch d/f
/tmp/repo1% darcs add d/f
/tmp/repo1% mv d d.bak
/tmp/repo1% touch d
/tmp/repo1% darcs w
darcs: do_stat: inappropriate type (Not a directory)
This error output from whatsnew is pretty dense; it should at minimum
say which file is the surprise. Ideally, it would handle this case fine
and treat it as if I removed a whole tree of files and dirs and added a
new file.
----------
messages: 10786
nosy: darcs-devel, dmitry.kurochkin, drewp
status: unknown
title: error is bad when a directory is replaced with a file
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1827>
__________________________________
More information about the darcs-devel
mailing list