mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-10 08:42:11 +01:00
Now the setup script will pull the right branch when updating the engine, this should fix git leaving lots of merge conflicts.
This commit is contained in:
parent
65a95ece4e
commit
80fe41009a
@ -155,7 +155,9 @@ def setup_repository(data, clone_path, branch = 'master'):
|
||||
subprocess.call('git reset --hard', shell=True)
|
||||
subprocess.call('git clean -f -d', shell=True)
|
||||
subprocess.call('git checkout -B ' + branch + ' origin/' + branch, shell=True)
|
||||
subprocess.call('git pull origin master', shell=True)
|
||||
subprocess.call('git pull origin ' + branch, shell=True)
|
||||
subprocess.call('git reset', shell=True)
|
||||
subprocess.call('git reset --hard', shell=True)
|
||||
|
||||
if data[1] in target_commits:
|
||||
target = target_commits[data[1]][branch]
|
||||
|
Loading…
Reference in New Issue
Block a user