From f5ba6262a7cb99fb2c81dae2ebda36ec13296961 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 20 Dec 2016 18:06:58 +0100 Subject: [PATCH] Accept commitids that contain any ASCII letters, uppercase or lowercase. --- cvsclone.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cvsclone.l b/cvsclone.l index fa551fe..8921e39 100644 --- a/cvsclone.l +++ b/cvsclone.l @@ -450,8 +450,8 @@ void begin(char *s, size_t l) -[0-9]+;\ \ BEGIN ATR0; rfile.revt->ldel = atoi(yytext+1); kopt:\ [^;\n]+;\n BEGIN REV3; rfile.revt->kopt = getstr(yyleng-8, yytext+6); kopt:\ [^;\n]+;\ \ rfile.revt->kopt = getstr(yyleng-9, yytext+6); -commitid:\ [0-9a-f]{16};\ \ rfile.revt->commitid = getstr(16, yytext+10); -commitid:\ [0-9a-f]{16};\n BEGIN REV3; rfile.revt->commitid = getstr(16, yytext+10); +commitid:\ [0-9a-zA-Z]{16};\ \ rfile.revt->commitid = getstr(16, yytext+10); +commitid:\ [0-9a-zA-Z]{16};\n BEGIN REV3; rfile.revt->commitid = getstr(16, yytext+10); mergepoint:\ {num};\n BEGIN REV3; /* getstr(yyleng-14, yytext+12); */ branches:/.*\n BEGIN RLST; ={77}\n BEGIN FEND; *yytext = '\0'; if (!rfile.revt->log) rfile.revt->log = yytext; if (rfile.revt) rfile.revt++; -- 2.11.4.GIT