diff options
Diffstat (limited to 'cvs-fast-export/0001-Allow-in-branch-names.patch')
| -rw-r--r-- | cvs-fast-export/0001-Allow-in-branch-names.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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" <esr@thyrsus.com> +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; + } +-<CONTENT>[-a-zA-Z_+%][-a-zA-Z_0-9+/%=.~^\\*?#!\[\]()<>]* { ++<CONTENT>[-a-zA-Z_+%][-a-zA-Z_0-9+/%=.~^\\*?#!'\[\]()<>]* { + /* CVS-like tag identifiers */ + fast_export_sanitize(yyscanner, cvs); + yylval->atom = atom(yytext); +-- +2.47.1 + |
