mirror of
https://github.com/odoo/runbot.git
synced 2025-03-30 23:05:44 +07:00
[IMP] forwardport: enable negative refspecs
Requires Git 2.29, new mergebot has access to Git 2.34
This commit is contained in:
parent
0f3647b7c7
commit
eb6dbf5d9b
@ -1090,9 +1090,9 @@ stderr:
|
|||||||
# works properly
|
# works properly
|
||||||
repo = git(repo_dir)
|
repo = git(repo_dir)
|
||||||
repo.config('--add', 'remote.origin.fetch', '+refs/heads/*:refs/heads/*')
|
repo.config('--add', 'remote.origin.fetch', '+refs/heads/*:refs/heads/*')
|
||||||
# negative refspecs require
|
# negative refspecs require git 2.29
|
||||||
# repo.config('--add', 'remote.origin.fetch', '^refs/heads/tmp.*')
|
repo.config('--add', 'remote.origin.fetch', '^refs/heads/tmp.*')
|
||||||
# repo.config('--add', 'remote.origin.fetch', '^refs/heads/staging.*')
|
repo.config('--add', 'remote.origin.fetch', '^refs/heads/staging.*')
|
||||||
return repo
|
return repo
|
||||||
|
|
||||||
def _outstanding(self, cutoff):
|
def _outstanding(self, cutoff):
|
||||||
|
Loading…
Reference in New Issue
Block a user