[darcs-devel] darcs patch: add some tests for edit_file and DARCS_E... (and 2 more)

Benedikt Schmidt beschmi at cloaked.de
Wed Jan 31 08:48:26 PST 2007


This patch is meant as a proposal for the breakCommand problems and handles
David's DARCS_EDITOR=emacs --eval "(setq make-backup-files nil)" by using

setEnv "DARCS_ARGUMENT" arg
system 'cmd "$DARCS_ARGUMENT"'

It only changes exec_interactive which is used by edit_file and view_file on Unix
and doesn't touch darcs or ssh invocations or changes anything on windows.

Some things that we have to decide on:
Do we want this behaviour on windows too?
What about DARCS_SSH and the other commands using exec?

Wed Jan 31 02:15:26 CET 2007  Benedikt Schmidt <beschmi at cloaked.de>
  * add some tests for edit_file and DARCS_EDITOR handling

Wed Jan 31 17:16:35 CET 2007  Benedikt Schmidt <beschmi at cloaked.de>
  * use TODO instead of pass for record_editor test

Wed Jan 31 17:28:11 CET 2007  Benedikt Schmidt <beschmi at cloaked.de>
  * go back to using system for edit_file/view_file instead of exec (system 'cmd "$ARG"')

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 41091 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070131/0cee4c61/attachment-0001.bin


More information about the darcs-devel mailing list