[darcs-devel] [issue347] diff-command in defaults fails -> setCurrentDirectory problem?

Brad bugs at darcs.net
Tue Nov 14 11:44:50 PST 2006


New submission from Brad <ykardia at gmail.com>:

I sent this message to darcs-users, and Eric suggested that this might
be a bug. He says that he can reproduce it.

----------------------------------
I am trying to use Apple's opendiff to view diffs of files, and put this line
into my .darcs/defaults:
diff diff-command "opendiff %1 %2"

When I run a diff on great_plan.txt in the directory 'myproject', I get
$ darcs diff great_plan.txt
Running command 'opendiff old-myproject/great_plan.txt
new-myproject/great_plan.txt' darcs: /private/tmp/new-myproject:
setCurrentDirectory: does not exist (No such file or directory)

This works when I give the --diff-command option explicitly:
$ darcs diff --diff-command 'opendiff %1 %2' recoveries.tex
Running command 'opendiff old-recoveries/recoveries.tex
new-recoveries/recoveries.tex'
Hit return to move on...
<opendiff pops up shown>

What's wrong?

darcs version: 1.0.8 (release)
compiled with ghc 6.4
Mac OS X 10.4.8
-----------------------

Also, the problem seems appears regardless of what the actual
diff-command is set to.

----------
messages: 1215
nosy: EricKow, droundy, tommy, ykardia
status: unread
title: diff-command in defaults fails -> setCurrentDirectory problem?

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue347>
____________________________________




More information about the darcs-devel mailing list