[GHC] #3499: darcs-all cannot use SSH repos with MSYS

GHC trac at galois.com
Mon Sep 21 11:52:24 EDT 2009


#3499: darcs-all cannot use SSH repos with MSYS
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:  simonmar        
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12 branch     
   Component:  Build System      |      Version:  6.11            
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * summary:  darcs-all + MSYS mangles the repo path => darcs-all cannot
              use SSH repos with MSYS
  * component:  Compiler => Build System
  * version:  6.10.4 => 6.11
  * milestone:  => 6.12 branch

Comment:

 MSYS's perl is expanding `user at machine:/path` to
 `user at machine;c:/msys/1.0/usr/path`.  It fails for the same reason that
 `scp user at machine:/path` fails on MSYS.  As far as I know it's not
 possible to turn this behaviour off.  You can work around it by using a
 different perl, e.g. Cygwin's perl: `c:/cygwin/bin/perl darcs-all pull`.
 Another one that works is

 {{{
 /c/ghc/ghc-6.10.4/perl -I/c/msys/1.0/lib/perl5/5.6.1 darcs-all pull
 }}}

 I'm not sure what to do about this.  The reason it is failing now and
 wasn't failing before is that we are now telling darcs exactly which repo
 to pull from, whereas before we were using whatever the default repos
 were.  I think the new behaviour is better - you're less likely to
 accidentally push/pull to/from the wrong place.

 I suggest using http for pulling, and pushing via SSH using Cygwin or one
 of the workarounds above.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3499#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list