From c6f27c7035b185bac7256a329a620b8f9ea72227 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Sat, 14 Dec 2024 13:54:01 -0500 Subject: local/cvs-fast-export: new aport --- cvs-fast-export/0001-Allow-in-branch-names.patch | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cvs-fast-export/0001-Allow-in-branch-names.patch (limited to 'cvs-fast-export/0001-Allow-in-branch-names.patch') diff --git a/cvs-fast-export/0001-Allow-in-branch-names.patch b/cvs-fast-export/0001-Allow-in-branch-names.patch new file mode 100644 index 0000000..a886126 --- /dev/null +++ b/cvs-fast-export/0001-Allow-in-branch-names.patch @@ -0,0 +1,26 @@ +From bc0138caf12f9d214b085ce6f207684e61eabdcc Mon Sep 17 00:00:00 2001 +From: "Eric S. Raymond" +Date: Mon, 23 Sep 2024 18:37:28 -0400 +Subject: [PATCH 1/4] Allow ' in branch names. + +Addresses GitLab bug #66: cvs-fast-export does not handle branch/tag name with apostrophe +--- + lex.l | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lex.l b/lex.l +index 1efecdb..5f985a5 100644 +--- a/lex.l ++++ b/lex.l +@@ -80,7 +80,7 @@ YY_DECL; + BEGIN(INITIAL); + return TEXT_DATA; + } +-[-a-zA-Z_+%][-a-zA-Z_0-9+/%=.~^\\*?#!\[\]()<>]* { ++[-a-zA-Z_+%][-a-zA-Z_0-9+/%=.~^\\*?#!'\[\]()<>]* { + /* CVS-like tag identifiers */ + fast_export_sanitize(yyscanner, cvs); + yylval->atom = atom(yytext); +-- +2.47.1 + -- cgit v1.2.3