darcs

Issue 2203 darcs wh should only list toplevel deleted directories

Title darcs wh should only list toplevel deleted directories
Priority Status wont-fix
Milestone Resolved in
Superseder Nosy List owst
Assigned To
Topics

Created on 2012-06-06.13:50:04 by owst, last changed 2020-08-15.19:28:24 by bfrk.

Messages
msg15794 (view) Author: owst Date: 2012-06-06.13:50:03
1. Summarise the issue (what were doing, what went wrong?)

I deleted a fairly complicated directory structure; I said `darcs wh`
and got a screenfull of changes, for all the files/directories that were
contained in the top-level directory.

To demonstrate, deleting dir1 in this hierarchy:
.
├── _darcs
│   ├── ...
└── dir1
    ├── dir2
    │   └── file2
    └── file1

gives the following darcs wh output:

rmfile ./dir1/dir2/file2
rmdir ./dir1/dir2
rmfile ./dir1/file1
rmdir ./dir1

2. What behaviour were you expecting instead?

I want darcs to just tell me that I've deleted the top-level dir, rather
than each individual file/directory that has been deleted.

3. What darcs version are you using? (Try: darcs --exact-version)

2.9.1 (+ 479 patches)

4. What operating system are you running?
  
Ubuntu x86_64
msg22433 (view) Author: bfrk Date: 2020-08-15.19:28:21
I tend to think of this as a feature, not a bug. Conciseness of the 
output is secondary in this case. I'd want to know exactly which files 
and sub directories will be deleted.
History
Date User Action Args
2012-06-06 13:50:04owstcreate
2020-08-15 19:28:24bfrksetstatus: unknown -> wont-fix
messages: + msg22433