> If I can get confirmation that this is true--that darcs won't work with a
> mingw openssh (which surprises me), then I think I'd accept a patch that
> makes this change for windows.  But I'd prefer to get this confirmation
> from one of our darcs windows developers (Will?).

I think we're talking about different things.  My co-worker (who has
temporarily refused to try darcs due to these issues), has cygwin ssh, not
mingw ssh.  Here is a transcript from cygwin bash showing the difference in
behavior:

------- begin included transcript
 twiddle:~/testdarcs$ /usr/bin/cp putty-scp.exe scp.exe
 twiddle:~/testdarcs$ /bin/rm -rf ./pyutil 2>/dev/null ; ./realdarcs.exe get -v 
-v -v -v 192.168.1.111:pyutil
darcs15636e               |          0 kB |   0.1 kB/s | ETA: 00:00:00 | 100%
Changing to: /home/zooko/
sftp> cd pyutil/_darcs/patches
sftp> get 20040807100654-92b7f-8d84b5bfd02892997c04bf640bcec0fad1e93397.gz
Fetching 
/home/zooko/pyutil/_darcs/patches/20040807100654-92b7f-8d84b5bfd02892997c04bf640bcec0fad1e93397.gz
 to 20040807100654-92b7f-8d84b5bfd02892997c04bf640bcec0fad1e93397.gz
sftp> 
Getting the inventory...
Applying patches to the "working" directory...
Applying patch Sat Aug  7 07:06:54 Atlantic Standard Time 2004  [EMAIL 
PROTECTED]
  * initial import from CVS-land
Patch applies cleanly...
Syncing the repository...
Finished getting.
 twiddle:~/testdarcs$ /usr/bin/cp cygwin-scp.exe scp.exe
 twiddle:~/testdarcs$ /bin/rm -rf ./pyutil 2>/dev/null ; ./realdarcs.exe get -v 
-v -v -v 192.168.1.111:pyutil
ssh: C: Name or service not known
lost connection
ssh: C: Name or service not known
lost connection
Invalid repository:  192.168.1.111:pyutil

darcs failed:  (scp) failed to fetch: 192.168.1.111:pyutil/_darcs/inventory
------- end included transcript

Remember, issue #496 is not that darcs.exe should invoke cygwin ssh and use it
correctly (although that would be very cool, that is issue #497).  Issue #496
is, since darcs requires putty's pscp.exe, why does it require the user to
rename pscp.exe to scp.exe?  It would make sense for darcs to just invoke
"pscp.exe".

Since my co-worker already had cygwin scp.exe installed, he didn't like the
idea of renaming "pscp.exe" to "scp.exe", thus introducing a naming conflict
which might break some other scripts or programs that he uses.

Regards,

Zooko

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to