gcc-changelog: checkout & pull order
contrib/ChangeLog: * gcc-changelog/git_update_version.py: First checkout and then run git pull ---rebase.
This commit is contained in:
parent
81caacc273
commit
9b4bdaf794
1 changed files with 1 additions and 1 deletions
|
@ -137,8 +137,8 @@ else:
|
|||
else:
|
||||
branch = repo.create_head(name, ref).set_tracking_branch(ref)
|
||||
print('=== Working on: %s ===' % branch, flush=True)
|
||||
origin.pull(rebase=True)
|
||||
branch.checkout()
|
||||
origin.pull(rebase=True)
|
||||
print('branch pulled and checked out')
|
||||
update_current_branch()
|
||||
assert not repo.index.diff(None)
|
||||
|
|
Loading…
Add table
Reference in a new issue