Re: Can I make 'one-shot' mr actions?

2015-08-23 Thread Evade Flow
I really like the idea of a [*] section for global commands that have --minimal set to true by default. If possible, it would be ideal if mr wouldn't even *try *to run these helper commands against 'real' repositories, since some of the commands may delete (or move) repository folders. I'm seeing t

Re: Can I make 'one-shot' mr actions?

2015-08-22 Thread John Whitley
Evade Flow wrote: > This is exactly what I want! I can stuff arbitrary helper commands into a > 'dummy' repository defined like this: > > [../.repos] > test = test -e "${MR_REPO}/.e7905c59-c748-4ef2-98b6-0251455ed66c" > commit = : > diff = : > log = : > push = : > record = : > register = : > stat

Re: Can I make 'one-shot' mr actions?

2015-08-22 Thread Evade Flow
Poking around the latest version of the mr script on github, I see that it has a --minimal option that turns output like this: % mr hello Moon mr hello: /home/acme/projects/rtt/ogm/../.repos Hello, Moon! mr hello: no defined action for hg repository /home/acme/projects/rtt/ogm/../.repos/rtt-commo

Re: Can I make 'one-shot' mr actions?

2015-08-21 Thread Evade Flow
Doh—I had a bonus 'not' in the most important sentence in my post. In case it wasn't clear from the context, I meant to ask: Is there some way I can coax mr into running an action just once, instead of once per repository? On Fri, Aug 21, 2015 at 9:26 AM, Evade Flow wrote: > Greetings! I recent