diff options
| author | John Vogel <jvogel@stygian.me> | 2024-12-14 13:54:01 -0500 |
|---|---|---|
| committer | John Vogel <jvogel@stygian.me> | 2024-12-14 13:54:01 -0500 |
| commit | c6f27c7035b185bac7256a329a620b8f9ea72227 (patch) | |
| tree | ec136442232ed8052f15af8baa4699ce38e6cad4 /cvs-fast-export/0001-Allow-in-branch-names.patch | |
| parent | 05e1d5340bd967a2e898341ffa02cabe1b39e098 (diff) | |
| download | forked-aports-c6f27c7035b185bac7256a329a620b8f9ea72227.tar.gz | |
local/cvs-fast-export: new aport
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 + |
