Eric Kow <ko...@darcs.net> writes:

> What exactly happens if the stash file already exists?
It is clobbered...

> I seem to remember that darcs send -o just clobbers it, but in the case
> of stashing, would that be desirable?  (Particularly if the user just
> does a revert -O stash-dir)
Yes, I think getOutput or something should be modified to give a unique
name (in all cases, not just for stash). Clobbering is not very nice.

>> -                   Just (p':>_) -> writeUnrevert repository p' rec NilFL
>> +                   Just (p':>_) -> unrevert p'
>> -                   Nothing -> writeUnrevert repository (norevert+>+p) rec 
>> NilFL
>> +                   Nothing -> unrevert (norevert+>+p)
>
> What's happened here?
Just use the new "unrevert" helper that decides whether to write to a
bundle or to write _darcs/patches/unrevert. Maybe it needs a better
name.

Yours,
   Petr.
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to