[darcs-users] darcs unapply
Ben Franksen
benjamin.franksen at bessy.de
Mon Apr 2 18:25:23 UTC 2012
Eric Kow wrote:
> On 26 Mar 2012, at 14:24, John Lato wrote:
>> On Mon, Mar 26, 2012 at 1:26 PM, Owen Stephens <darcs at owenstephens.co.uk>
>> wrote:
>>> On 26 March 2012 13:16, John Lato <jwlato at gmail.com> wrote:
>>> darcs obliterate -o removed_patches.dpatch
>>> "hack, hack, hack."
>>> darcs apply removed_patches.dpatch
>
> Variant: darcs obliterate -OSTASH, where STASH is some directory.
This is extremely cool. Thanks for mentioning it.
Even cooler (if that is possible) would be if there were a standard
directory for that under _darcs, say _darcs/obliterated, empty by default,
so that one could put
obliterate -O_darcs/obliterated
in one's ~/.darcs/defaults. Or, similarly effective, darcs could just create
the directory if it does not exist, or maybe only if an extra option --
create-non-existing-directories is given, to be on the safe side.
Cheers
Ben
More information about the darcs-users
mailing list