darcs

Issue 2455 darcs record -la does not see a rmfile change

Title darcs record -la does not see a rmfile change
Priority invalid Status wont-fix
Milestone Resolved in
Superseder Nosy List bfrk, ganesh
Assigned To
Topics

Created on 2015-06-13.18:49:38 by bfrk, last changed 2015-07-02.09:33:46 by bfrk.

Messages
msg18484 (view) Author: bfrk Date: 2015-06-13.18:49:37
1. Summarise the issue (what were doing, what went wrong?)

> darcs init
> echo bar > foo
> darcs add foo -a
> darcs record -lam'added foo' --skip-long-comment
> darcs remove foo
> darcs record -lam'deleted foo' --skip-long-comment
No changes!
> darcs whatsnew
hunk ./foo 1
-bar
rmfile ./foo

2. What behaviour were you expecting instead?

The second record should not tell me there are no changes, when in fact
there are!

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

The latest from screened (after 2.10).
msg18661 (view) Author: ganesh Date: 2015-07-02.06:54:06
Isn't the problem that you're using -l for the second record, which 
means it goes looking for untracked files in the working directory, 
negating the effect of your rmfile? If I remove the -l from the second 
record in the test you sent in patch1357 then it passes.
msg18662 (view) Author: bfrk Date: 2015-07-02.09:33:44
Hmmm. You have a point there. I was surprised but it makes sense now
that I think about it. Thanks for enlightening me.
History
Date User Action Args
2015-06-13 18:49:38bfrkcreate
2015-06-21 20:54:43bfrksetpriority: critical -> urgent
2015-07-02 06:54:07ganeshsetnosy: + ganesh
messages: + msg18661
2015-07-02 09:33:46bfrksetpriority: urgent -> invalid
status: unknown -> wont-fix
messages: + msg18662