Mercurial > hg
changeset 11905:0b84864d1325
tests: drop big sed from test-keyword.t
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 15 Aug 2010 13:26:12 -0500 |
parents | 122e3e0ba3e4 |
children | deea0506528c 106ff0de0270 |
files | tests/test-keyword.t |
diffstat | 1 files changed, 9 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-keyword.t Fri Aug 13 13:54:33 2010 +0100 +++ b/tests/test-keyword.t Sun Aug 15 13:26:12 2010 -0500 @@ -12,11 +12,7 @@ Run kwdemo before [keyword] files are set up as it would succeed without uisetup otherwise - $ hg --quiet kwdemo \ - > | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \ - > -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \ - > -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \ - > -e 's! 20[0-9][0-9]/[01][0-9]/[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]! 2000/00/00 00:00:00!' + $ hg --quiet kwdemo [extensions] keyword = [keyword] @@ -30,14 +26,14 @@ RCSfile = {file|basename},v Revision = {node|short} Source = {root}/{file},v - $Author: test $ - $Date: 2000/00/00 00:00:00 $ - $Header: /TMP/demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $ - $Id: demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $ - $RCSFile: demo.txt,v $ - $RCSfile: demo.txt,v $ - $Revision: xxxxxxxxxxxx $ - $Source: /TMP/demo.txt,v $ + \$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 \$ $ hg --quiet kwdemo "Branch = {branches}" [extensions]