[email protected] (Mark A. Hershberger) writes:

>> Your remote host returns as `uname -r' "Linux 2.6.18-6-686". I doubt,
>> that there is no scp installed.
>
> I can guarentee you there is no scp installed.  I removed it.
>
> The following:
>
>>> 10:26:59 tramp-do-copy-or-rename-file-out-of-band (6) # scp -p -q 
>>> 192.168.12.107:/var/www/rwanda-pilot/.bzr/checkout/dirstate 
>>> /tmp/tramp.28181DNK
>>
>>> 10:26:59 tramp-process-actions (6) # 
>>> Connection to 192.168.12.107 closed by remote host.
>
> Is exactly what happens when there is no remote scp.  I'm using dropbear
> on the remote client as the sshd.

OK, I'm convinced :-)

> I'm not naming a transfer method.  I do:
>
>     C-x C-f /192.168.12.107:/var/www/rwandaa-pilot/bin/filename RET
>
> and the filename is loaded properly.  vc-bzr jumps into action and tries
> to read the dirstate file, but fails.
>
> I don't know what is going on in the background, but it looks like tramp
> sees that there is no scp and falls over to something like ssh.  vc-bzr,
> though, seems to still rely on ssh.

It has nothing to do with vc-bzr. It is still Tramp, which puzzles you.

When Tramp uses scp as transfer method, it applies an internal
optimization. For all files smaller than `tramp-copy-size-limit', it
still uses ssh, because calling scp is an overhead, which is to heavy
when copying small files. Your file "setup-openmrs-for-pilot" seems to
be small enough, whereas "dirstate" seems to be longer than 10KB (the
default limit).

So I recommend you to apply ssh as default method for that remote
host. Something like

  (add-to-list 'tramp-default-method-alist
               '("\\`192\\.168\\.12\\.107\\'" "" "ssh"))

shall do it.

> Thank you,
>
> Mark.

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to