We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506f506 commit 9ded069Copy full SHA for 9ded069
github2gitlab/main.py
@@ -243,7 +243,7 @@ def git_mirror(self):
243
def git_mirror_optimize(self, repo):
244
self.sh("git fetch origin +refs/pull/*:refs/remotes/origin/pull/*")
245
for head in repo.refs:
246
- pr = re.search('^origin/pull/(\d+)/head$', head.name)
+ pr = re.search('^origin/pull/(\\d+)/head$', head.name)
247
if not pr:
248
continue
249
pr = pr.group(1)
0 commit comments