monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] [PATCH] New lua command execute_redirout which exec


From: Bruce Stephens
Subject: Re: [Monotone-devel] [PATCH] New lua command execute_redirout which executes an os command and captures standard output
Date: Mon, 14 Aug 2006 20:48:59 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Daniel Dickinson <address@hidden> writes:

[...]

> Oh, I need it to be able to use stat to get unix permissions and
> user and group on a file, as well as using readlink to get the
> target of symlinks.  I'm using monotone attributes to track these.
> It's not strictly necessary since you can work around it, as I did
> with the helper script on the wiki page, but this way of doing it
> makes life much easier.

Well, an obvious alternative would be to provide those two operations
as lua functions.  How portable is stat as a command?




reply via email to

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