Hi all,

I'm working on a project : ant4hg which aims to surround hg executable using ExecTask. I have a problem with : 'hg clone ssh://bdedar...@ant4hg.hg.sourceforge.net/hgroot/ant4hg/ant4hg'
because it uses a third party tool : ssh.exe.

It's OK for (without third party tool) :

   <echo message="hg clone
   http://ant4hg.hg.sourceforge.net:8000/hgroot/ant4hg/ant4hg"; />
   <exec dir="." executable="hg">
       <arg line="clone" />
       <arg
   line="http://ant4hg.hg.sourceforge.net:8000/hgroot/ant4hg/ant4hg"; />
   </exec>

   /[echo] hg clone
   http://ant4hg.hg.sourceforge.net:8000/hgroot/ant4hg/ant4hg
   [exec] destination directory: ant4hg
   [exec] no changes found
   [exec] updating working directory
   [exec] 0 files updated, 0 files merged, 0 files removed, 0 files
   unresolve
   /


But not for :

   <echo message="hg clone
   ssh://bdedar...@ant4hg.hg.sourceforge.net/hgroot/ant4hg/ant4hg " />
       <exec dir="." executable="hg">
       <arg line="clone" />
       <arg
   line="ssh://bdedar...@ant4hg.hg.sourceforge.net/hgroot/ant4hg/ant4hg
   " />
   </exec>

   /[echo] hg clone
ssh://bdedar...@ant4hg.hg.sourceforge.net/hgroot/ant4hg/ant4hg /

... waiting ...

Here is the shell command line (it asks me for password) :

    > hg clone
   ssh://bdedar...@ant4hg.hg.sourceforge.net/hgroot/ant4hg/ant4hg
   bdedar...@ant4hg.hg.sourceforge.net's password:
   destination directory: ant4hg
   no changes found
   updating working directory
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved

Do you have any idea about catching ssh stream ???

Regards,
Benjamin

Reply via email to