darcs

Issue 2698 command to remove replace changes from pending

Title command to remove replace changes from pending
Priority feature Status unknown
Milestone Resolved in
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2023-02-20.21:32:47 by bfrk, last changed 2023-02-20.21:32:47 by bfrk.

Messages
msg23114 (view) Author: bfrk Date: 2023-02-20.21:32:42
We can negate a `darcs add` with `darcs remove` and vice versa without  
changing the working tree. We can try to negate a `darcs replace old new` 
with `darcs replace new old`, but
(1) that changes the working tree,
(2) it may fail to cancel the previous replace if a manual edit afterwards 
has added a line containing 'old'.

The command would convert a pending replace patch to a sequence of hunks 
with the same effect when applied.

Alternatively, we could offer a more general command similar to `git reset -
-mixed` that allows to remove and kind of changes from pending (without 
changing the working tree).
History
Date User Action Args
2023-02-20 21:32:47bfrkcreate