fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Output of local()


From: Sverre Johansen
Subject: [Fab-user] Output of local()
Date: Thu, 29 Jan 2009 23:18:42 +0530

Hi,

Is there any reason that local() does not return the output of the
commands, like run() and sudo() does?

I need this to call `git rev-parse` to use the revision number as part
of the deploy directory on the server. I also think it makes sense for
keeping consistency between the functions.

Attached is a patch that implements this.

-- 
           Sverre Johansen

Attachment: 0001-Added-support-for-returning-output-in-local-as-in.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]