On Mon, Apr 11, 2011 at 7:20 PM, Robert Terhaar
<rterh...@atlanticdynamic.com> wrote:
> Hi All,

Hi Rob,

> The problem i'm having is with the "cd" context manager, when fabric runs it
> seems to just ignore the CD, and tries to run local commands in the wrong
> directory.

This was one of the (many) changes in 1.0, whose changelog you should
definitely read/skim if you're upgrading from 0.9 as there are a
number of other potential pitfalls:

    http://docs.fabfile.org/en/1.0.1/changes/1.0.html

Specifically, what changed is that `cd` now only applies remotely, and
a different context manager, `lcd`, applies to local():

    
http://docs.fabfile.org/en/1.0.1/api/core/context_managers.html#fabric.context_managers.lcd

This was done to limit confusion for new users and to allow
flexibility that a wide-ranging `cd` simply was unable to provide.

HTH,
Jeff

-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to