[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Output of local()
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] Output of local() |
Date: |
Thu, 29 Jan 2009 13:08:14 -0500 |
Hi Sverre,
No, I believe I just never got around to adding it to local(), as I
never personally use local() and the "run()/sudo() return command
output" feature was me scratching a specific itch. It's definitely
something good to add for consistency's sake.
I'll check out your patch, so thanks for that.
Best,
Jeff
On Thu, Jan 29, 2009 at 12:48 PM, Sverre Johansen
<address@hidden> wrote:
> 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
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>