[llvm] Changed Regex to accept /branch: and /cherry-pick: commands (PR #81002)

Shourya Goel via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 03:38:38 PST 2024


================
@@ -603,12 +603,12 @@ def execute_command(self) -> bool:
         """
         This function reads lines from STDIN and executes the first command
         that it finds.  The 2 supported commands are:
-        /cherry-pick commit0 <commit1> <commit2> <...>
-        /branch <owner>/<repo>/<branch>
+        /cherry-pick< ><:> commit0 <commit1> <commit2> <...>
+        /branch< ><:> <owner>/<repo>/<branch>
----------------
Sh0g0-1758 wrote:

I see. Do we need the regex support for /cherry-pick command? 

https://github.com/llvm/llvm-project/pull/81002


More information about the llvm-commits mailing list