[darcs-devel] [issue2349] send -O overwrites existing files

Owen Stephens bugs at darcs.net
Thu Dec 5 23:01:40 UTC 2013


Owen Stephens <darcs at owenstephens.co.uk> added the comment:

This is slightly tricky to fix.

There's code that does a similar thing in UI/Commands/Unrecord.hs, and
in Util.hs in the same directory, but I suspect the better place would
be in getOuput in ../Arguments.hs, where it can be made to work for all
dpatch-emitting commands, rather than in an ad-hoc fashion.

I should be able to get this done with a bit more thought.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2349>
__________________________________


More information about the darcs-devel mailing list