darcs

Issue 933 remove is unhelpfully quiet when removing a directory containing tracked files

Title remove is unhelpfully quiet when removing a directory containing tracked files
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List Serware, darcs-devel, dmitry.kurochkin, jaredj, kowey, markstos, mornfall, nwf, thorkilnaur, tommy, tux_rocker
Assigned To mornfall
Topics ProbablyEasy, UI

Created on 2008-06-21.02:10:17 by nwf, last changed 2010-02-21.13:22:33 by tux_rocker.

Files
File name Uploaded Type Edit Remove
context nwf, 2008-06-21.02:10:13 text/plain
Messages
msg5130 (view) Author: nwf Date: 2008-06-21.02:10:13
A simple test case:
$darcs init
$darcs add a/file
$ darcs whatsnew
adddir ./a
addfile ./a/file
$ darcs unadd a

darcs failed:  Can't remove a


It would be nice if the above unadd mentioned the files tracked inside a/ 
instead of just complaining.  Even a note to run "whatsnew" would be more 
helpful than the current behavior.

Tested against 2.0.1rc2 (unknown) -- full context is attached.
Attachments
msg5459 (view) Author: markstos Date: 2008-08-13.02:02:47
I agree with this, and am upgrading it from the wishlist priority to bug. 

Darcs overall has a has high quality user interface, and it really should
provide some explanation about why it can't remove the directory, even if it is
very simple: "directory not empty", or "directory contains files managed by darcs".
msg10057 (view) Author: tux_rocker Date: 2010-02-21.13:22:28
I believe this is fixed as a side effect of the patch that resolves
issue1749.
History
Date User Action Args
2008-06-21 02:10:17nwfcreate
2008-07-09 14:08:57nwfsettopic: + Darcs2, UI
nosy: + Serware
2008-08-13 02:02:50markstossetpriority: wishlist -> bug
status: unread -> unknown
messages: + msg5459
nosy: + markstos
2008-08-13 14:39:11mornfallsetnosy: + mornfall, simon, kowey
assignedto: mornfall
2009-08-06 21:08:30adminsetnosy: + dmitry.kurochkin, thorkilnaur, - beschmi
2009-08-11 00:17:38adminsetnosy: - dagit
2009-08-11 17:49:49koweysettopic: + ProbablyEasy, - Darcs2
nosy: + jaredj
title: unadd is unhelpfully quiet when removing a directory containing tracked files -> remove is unhelpfully quiet when removing a directory containing tracked files
2009-08-11 17:50:35koweysetstatus: unknown -> needs-implementation
nosy: tommy, kowey, markstos, simon, thorkilnaur, jaredj, dmitry.kurochkin, Serware, nwf, mornfall
2009-08-25 17:24:16adminsetnosy: + darcs-devel, - simon
2009-08-25 19:12:15koweysetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, Serware, nwf, mornfall
2009-08-27 14:23:05adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, Serware, nwf, mornfall
2009-10-23 22:43:34adminsetnosy: + serware, - Serware
2009-10-23 23:29:28adminsetnosy: + Serware, - serware
2010-02-21 13:22:33tux_rockersetstatus: needs-implementation -> resolved
nosy: + tux_rocker
messages: + msg10057