[darcs-users] Re: diff-command in defaults fails -> setCurrentDirectory problem?

David Roundy droundy at darcs.net
Mon Nov 20 22:09:21 UTC 2006


On Thu, Nov 16, 2006 at 10:14:02AM -0000, Ben Hood wrote:
> Hi all,
> 
> I wasn't aware of the diff-command option so I tried it out with my
> windows darcs installation by setting the preferences
> 
> $ echo diff diff-command smartsynchronize %1 %2 > _darcs/prefs/defaults
> 
> However, when I run it, the diff program starts but the arguments are
> not passed properly and the darcs command fails with the following
> error:
> 
> $ darcs diff
> Running command 'smartsynchronize old-foo4/ new-foo4/'
> darcs.exe: darcs90a184: removeFile: permission denied (Permission
> denied) 
> 
> Is there a simple solution for this?

This is almost certainly a windows-specific bug... you are running either
windows or on a samba share, I presume? Windows has some funky filesystem
semantics which are darned inconvenient.

If this is the case, it's tricky for most of us developers to debug this,
since we don't have windows.  Which is why we're waiting silently for a
windows guy to speak up.  We try to keep things working properly on
windows, but it's sometimes tricky tracking down trouble that only shows up
on a platform one doesn't own.
-- 
David Roundy
Department of Physics
Oregon State University




More information about the darcs-users mailing list