[darcs-devel] [issue1300] darcs record --delete-logfile should only delete after a successful record.

Eric Kow bugs at darcs.net
Mon Sep 7 11:23:01 UTC 2009


Eric Kow <kowey at darcs.net> added the comment:

Here's the test I plan to submit. Looks like this will be very easy to fix.

darcs init      --repo R        # Create our test repos.
cd R
touch f g
touch log
darcs add f
darcs setpref test 'exit 0'
darcs record -am f --test --logfile log --delete-logfile
test ! -e log
darcs setpref test 'exit 1'
touch log
darcs record -am g --test --logfile log --delete-logfile
test -e log
cd ..

----------
status: need-action -> need-implementation

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


More information about the darcs-devel mailing list