mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45: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
|
||||
repo = git(repo_dir)
|
||||
repo.config('--add', 'remote.origin.fetch', '+refs/heads/*:refs/heads/*')
|
||||
# negative refspecs require
|
||||
# repo.config('--add', 'remote.origin.fetch', '^refs/heads/tmp.*')
|
||||
# repo.config('--add', 'remote.origin.fetch', '^refs/heads/staging.*')
|
||||
# negative refspecs require git 2.29
|
||||
repo.config('--add', 'remote.origin.fetch', '^refs/heads/tmp.*')
|
||||
repo.config('--add', 'remote.origin.fetch', '^refs/heads/staging.*')
|
||||
return repo
|
||||
|
||||
def _outstanding(self, cutoff):
|
||||
|
Loading…
Reference in New Issue
Block a user