New submission from Pekka Pessi <[EMAIL PROTECTED]>: Hello all,
It looks like darcs replace foo bar foo.c foo.c works in somewhat unexpected manner: 1) darcs checks that foo.c and foo.c does not contain bar 2) darcs changes foo to bar in foo.c 3) it again tries to change foo to bar in foo.c, but finds bar and barfs like this darcs failed: Can't do replace on working! Perhaps one of the files already contains 'bar'? user error (replace patch to ./foo.c couldn't apply.) and exits with 2. Well, I guess that "user error" part is apt, but darcs could try a bit harder to detect or prune duplicates in its argument list. Luckily it does not trash "pending" like in #231. ---------- messages: 1010 nosy: EricKow, droundy, ppessi, tommy status: unread title: darcs replace loses, again ____________________________________ Darcs issue tracker <[EMAIL PROTECTED]> <http://bugs.darcs.net/issue273> ____________________________________ _______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
