fabric/fabric — pull request #731 by ghk (2012-09-17 22:37:11+00:00)
Title: Fix sftp put_dir for fabric run on windows

Fix local directory strip and splits

because rcontext is local file, it should use os.sep instead of '/' for determining what to split. Also splitting the path with os.split before passing to posipath.join