berkus / muddle

Automatically exported from code.google.com/p/muddle
0 stars 0 forks source link

muddle runin doesn't accept label fragments (and help doesn't say so) #233

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to run a command such as:

  muddle runin checkout:\* git log...

but instead I have to run:

  muddle runin checkout:\*/checked_out git log...

The former produces the error:

   Label string 'checkout:*' is not a valid Label

The error isn't terribly helpful, since checkout:* is accepted as a label in 
other commands, and looks perfectly reasonable if you read the help on labels.  
The runin help doesn't mention that label fragments aren't supported.

Could either fix to allow label fragments, or at least change the error message 
and help to say that fragments aren't allowed.

Original issue reported on code.google.com by david.mu...@kynesim.co.uk on 6 Dec 2012 at 3:16

GoogleCodeExporter commented 9 years ago

Original comment by t...@kynesim.co.uk on 12 Dec 2012 at 10:32

GoogleCodeExporter commented 9 years ago
Fixed in fa5a964141daf589b8a75b260112ac4c3686b2c0

"muddle runin" can now take label fragments, and also _xxx values. See its help.

Original comment by t...@kynesim.co.uk on 14 Dec 2012 at 12:10