branch: sftp fixes

Robey Pointer robey at lag.net
Wed Nov 23 06:59:03 GMT 2005


On 22 Nov 2005, at 21:51, Alexey Shamrin wrote:

> Take a look at http://nicecode.org/bzr/selftest-win32/bzr.dev/ -- I
> have updated logs of "bzr selftest". It appears that most of sftp
> tests still don't pass under Windows. Now they fail with:

Yeah, someone reported that this morning too.  It's actually a  
separate bug.  This line:

> File "c:\work\prog\bzr\bzr.dev\bzrlib\transport\sftp.py", line 77,
> in save_host_keys
>     os.mkdir(config_dir())

should be changed to "os.makedirs", because on Windows, the  
config_dir is a long path, not just a subfolder from $HOME.

robey





More information about the bazaar mailing list