[PATCH 0 of 1] tests: unify test-keyword
Christian Ebert
blacktrash at gmx.net
Fri Aug 13 17:11:27 CDT 2010
* Matt Mackall on Friday, August 13, 2010 at 13:37:49 -0500
> On Fri, 2010-08-13 at 14:03 +0100, Christian Ebert wrote:
>> Doing the conversion manually was actually quite interesting ;-)
>>
>> Somehow the little regex machine didn't help me with one huge sed
>> filter at all. I suspect that's because the output lines start
>> with $.
>
> Here's the trick:
[...]
> + \$Author: test \$
> + \$Date: ..../../.. ..:..:.. \$
> + \$Header: .*/demo.txt,v ............ ..../../.. ..:..:.. test \$
> + \$Id: demo.txt,v ............ ..../../.. ..:..:.. test \$
> + \$RCSFile: demo.txt,v \$
> + \$RCSfile: demo.txt,v \$
> + \$Revision: ............ \$
> + \$Source: .*/demo.txt,v \$
Damn, I should've tried escaping $. Duh. Anyway, thanks for
queuing.
c
--
Die Wolke Wolfgang
Eine Kindergeschichte mit Bildern. Von Michael Weber.
Das Buch -->> http://www.blacktrash.org/baustellen/index.html#wolkewolfgang
Online -->> http://www.blacktrash.org/wolkewolfgang/
More information about the Mercurial-devel
mailing list