From a55e3e361def6465a37f29b8e2bb7a8bf943dd16 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 25 Jan 2018 15:21:37 -0800 Subject: scripts: rfr: support https://git-master.nvidia.com/r/#/c/(\d+) https://git-master.nvidia.com/r/#/c/(\d+) is acceptable format for gerrit website and it won't auto-correct by adding '/' at endof the url. Jira EVLR-2364 Change-Id: I1a33578058d23fbb3eaf76d260a1a659c628fdc3 Signed-off-by: Richard Zhao Reviewed-on: https://git-master.nvidia.com/r/1646315 Reviewed-by: Alex Waterman Reviewed-by: Seshendra Gadagottu GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- scripts/rfr | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/rfr b/scripts/rfr index bca32d3b..d5d776ee 100755 --- a/scripts/rfr +++ b/scripts/rfr @@ -20,6 +20,7 @@ gr_fmts = [ r'http://git-master/r/(\d+)', r'https://git-master/r/(\d+)', r'https://git-master/r/#/c/(\d+)/', r'https://git-master.nvidia.com/r/(\d+)', + r'https://git-master.nvidia.com/r/#/c/(\d+)', r'https://git-master.nvidia.com/r/#/c/(\d+)/' ] # The user to use. May be overridden but the default comes from the environment. -- cgit v1.2.2