[darcs-users] explanation of PATTERN?

Lev Lvovsky lists2 at sonous.com
Mon Dec 11 21:51:46 UTC 2006


On Dec 11, 2006, at 1:00 PM, Eric Y. Kow wrote:

>> darcs --from-match "[test]" gives me:
>
> for that you want --from-match "name [test]"
>
> if you want to match something with spaces in it:
> --from-match 'name "foo bar"'
>
> there are other matchers besides name (e.g, author, date; look in the
> manual)
>
> note that --patch is the same as --match name, so, for example
> -p "foo bar" is short for --match 'name "foo bar"'

I'm getting mixed results with this.  Perhaps it's because of the  
"[...]" square brackets acting as a regex character, but for a  
specific example, something with the title of "[build] ....",  
subsequently running darcs unrecord -p "[build]" or "\[build\]"  
brings up recorded items which don't even have "build" in their  
description (in addition however, it does bring back the one I'm  
looking for).  Am I missing something?

thanks!
-lev




More information about the darcs-users mailing list