Thanks for giving this so much thought. Those things are all valid, I
would probably not come up with this kind of creativity myself. Please
consider writing similary inspiring text in the docs.  No code changes
needed then.

> You could just evaluate it as shell code instead, or run a subshell:
> 
>    [DEFAULT]
>    run = eval "$*"
> 
>    [DEFAULT]
>    run = sh -c "$*"
> 
> Then you would be able to run something like this:
> 
>    $ mr run mr config '$MR_REPO' foo=bar bar=baz

Wouldnt the subshell immediately invoke quoting hell?

> I'm inclined to make these changes to myrepos:
> 
>  * Make the config section optional when the current dir is a
>    registered repos and derive the section from the current dir.
>  * Add a recursive option that would apply to the config and register
>    commands and cause them to do their jobs recursively.

Thank you very much.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to