darcs

Issue 1827 error is bad when a directory is replaced with a file

Title error is bad when a directory is replaced with a file
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, drewp, kowey
Assigned To drewp
Topics UI

Created on 2010-04-22.05:22:44 by drewp, last changed 2017-07-30.23:56:41 by gh.

Messages
msg10786 (view) Author: drewp Date: 2010-04-22.05:22:43
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.
msg10849 (view) Author: kowey Date: 2010-04-27.12:47:18
Hi Drew, may I delegate back to you the job of checking to see how darcs
2.4.1 behaves with this case?
History
Date User Action Args
2010-04-22 05:22:44drewpcreate
2010-04-27 12:47:19koweysetstatus: unknown -> waiting-for
topic: + UI
nosy: + kowey
messages: + msg10849
priority: bug
assignedto: drewp
2017-07-30 23:56:41ghsetstatus: waiting-for -> given-up