darcs

Issue 398 diff => No such file or directory (1.0.9, Windows)

Title diff => No such file or directory (1.0.9, Windows)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jmvilaca, kowey, markstos, thorkilnaur, tommy, wglozer
Assigned To
Topics Windows

Created on 2007-01-23.16:07:33 by jmvilaca, last changed 2009-09-25.16:45:04 by kowey.

Messages
msg1435 (view) Author: jmvilaca Date: 2007-01-23.16:07:22
Hi,

I’m using darcs in Windows XP with SP2 (the binaries available online) and
I’m having troubles with darcs diff.

If it is of interest the repository is in a partition in FAT32.

Currently I’m using darcs 1.0.7 but I tried 1.0.5 and 1.0.6 and the same
problem arises; it complains that some directories do not exist. 

Just guessing, but something related with forward / backslash path separator
in unix / windows?

D:\Dout\INblobs>darcs diff

plink: unknown option "-O"

diff: old-INblobs/: No such file or directory

diff: new-INblobs/: No such file or directory

I had used darcs diff in the past in another windows installation but that
one had Cygwin and everything was ok.

Is possible to get a binary with this solved?

Best 

Miguel Vilaça
Attachments
msg1528 (view) Author: kowey Date: 2007-03-09.08:20:36
Sounds like a bug.  Maybe something do with the temporary directory?
Miguel, could you try setting DARCS_TMP?
msg2942 (view) Author: markstos Date: 2008-01-31.02:51:29
jmvilaca,

To make headway with this bug, we need to know if it is a still a problem for
you. Did ever find out why you are getting the error: "plink: unknown option
"-O"  ?  
Please retest with one of the Darcs2 binaries available here: 

http://wiki.darcs.net/index.html/DarcsTwo

If we don't hear back that it continues to be a bug, we'll eventually close this
bug report.
msg2960 (view) Author: kowey Date: 2008-01-31.08:59:38
On Thu, Jan 31, 2008 at 02:51:30 -0000, Mark Stosberg wrote:
> Did ever find out why you are getting the error: "plink: unknown option
> "-O"  ?  

This particular point is a bug that I had introduced in 1.0.7, and has
long been fixed.

No comment on the diff stuff, however.
msg2968 (view) Author: jmvilaca Date: 2008-01-31.11:33:03
I'm now using darcs 1.0.9 on windows and the "plink: unknown option "-O" message
gone away.

Although
D:\INblobs>darcs diff
old-INblobs-1/: No such file or directory
new-INblobs-1/: No such file or directory
diff: diff:

I check DARCS_TMP and DARCS_TMPDIR and are both ok. But 
D:\INblobs>darcs whatsnew
No changes!

I just change diff to whatsnew.
So its perfectly ok for me.
msg2977 (view) Author: droundy Date: 2008-01-31.15:16:22
jmvilaca, can you think of anything unusual about your setup that would trigger
this error?

Can try running

darcs diff --diff-cmd='ls %1 %2'

and

darcs diff --diff-cmd=pwd

and let us know what the output is in each case?

Thanks!

David
msg4634 (view) Author: kowey Date: 2008-05-13.14:29:11
Hi Miguel,

Could you do these tests for us, or perhaps let us know if everything is working
fine now with darcs 2.0.0?  Quoting David:

Can try running

darcs diff --diff-cmd='ls %1 %2'

and

darcs diff --diff-cmd=pwd

and let us know what the output is in each case?
msg8671 (view) Author: kowey Date: 2009-09-04.08:40:07
Hi Miguel,

You filed a bug report a couple of years ago about doing darcs diff under
Windows.  Could I just check to see if it's still misbehaving for you with a
recent Darcs?

Also maybe you could try the following:

darcs diff --diff-cmd='dir %1 %2'

Thanks!
msg8876 (view) Author: jmvilaca Date: 2009-09-25.16:31:29
Hi Eric,

Sorry for the late reply, but I moved away from Windows and i needed  
to went to an old machine that I had.

I change darcs to version 2.3 and now "darcs diff" do the job just  
fine, in the same repository.

This variant don't work; it don't recognize --diff-cmd.

best regards
Miguel

Em 2009/09/04, às 09:40, Eric Kow escreveu:

>
> Eric Kow <kowey@darcs.net> added the comment:
>
> Hi Miguel,
>
> You filed a bug report a couple of years ago about doing darcs diff  
> under
> Windows.  Could I just check to see if it's still misbehaving for  
> you with a
> recent Darcs?
>
> Also maybe you could try the following:
>
> darcs diff --diff-cmd='dir %1 %2'
>
> Thanks!
>
> ----------
> assignedto: jmvilaca ->
> title: diff => No such file or directory (1.0.7, Windows) -> diff =>  
> No such file or directory (1.0.9, Windows)
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue398>
> __________________________________
msg8877 (view) Author: kowey Date: 2009-09-25.16:45:02
Thanks for going through the trouble!  We don't know what fixed it, but I'll
mark this resolved anyway.

As for --diff-cmd, we asked for the wrong thing, should be --diff-command
History
Date User Action Args
2007-01-23 16:07:33jmvilacacreate
2007-03-09 08:17:27koweysetfiles: - unnamed
nosy: droundy, tommy, beschmi, kowey, jmvilaca
2007-03-09 08:21:42koweysetstatus: unread -> unknown
nosy: + wglozer, eivuokko
topic: + Windows
messages: + msg1528
title: darcs diff do not work in Windows -> diff => No such file or directory (1.0.7, Windows)
2008-01-31 02:51:30markstossetstatus: unknown -> waiting-for
nosy: + markstos
messages: + msg2942
2008-01-31 08:59:39koweysetnosy: droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, jmvilaca
messages: + msg2960
2008-01-31 11:33:04jmvilacasetstatus: waiting-for -> unknown
nosy: droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, jmvilaca
messages: + msg2968
2008-01-31 15:16:23droundysetnosy: droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, jmvilaca
messages: + msg2977
2008-02-16 21:47:35markstossetstatus: unknown -> deferred
nosy: droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, jmvilaca
2008-05-13 14:29:13koweysetstatus: deferred -> waiting-for
nosy: + dagit
messages: + msg4634
assignedto: jmvilaca
2009-08-06 17:47:21adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, wglozer, eivuokko, jmvilaca
2009-08-06 20:43:10adminsetnosy: - beschmi
2009-08-10 22:01:17adminsetnosy: + wglozer, eivuokko, jmvilaca, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:59:15adminsetnosy: - dagit
2009-08-25 17:59:07adminsetnosy: + darcs-devel, - simon
2009-08-27 13:58:45adminsetnosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, jmvilaca, thorkilnaur, dmitry.kurochkin
2009-09-04 08:40:09koweysetnosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, jmvilaca, thorkilnaur, dmitry.kurochkin
assignedto: jmvilaca -> (no value)
messages: + msg8671
title: diff => No such file or directory (1.0.7, Windows) -> diff => No such file or directory (1.0.9, Windows)
2009-09-04 08:45:20koweysetnosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, jmvilaca, thorkilnaur, dmitry.kurochkin
assignedto: jmvilaca
2009-09-25 16:31:31jmvilacasetnosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, jmvilaca, thorkilnaur, dmitry.kurochkin
messages: + msg8876
2009-09-25 16:45:04koweysetstatus: waiting-for -> resolved
nosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, jmvilaca, thorkilnaur, dmitry.kurochkin
messages: + msg8877
assignedto: jmvilaca ->