mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-06-24 16:49:00 -04:00
Merge branch 'only-pick-files-from-current-locale' into 'master'
pick-complete-translations.py: only pick files from current locale See merge request fdroid/fdroidserver!1827
This commit is contained in:
@@ -74,7 +74,16 @@ for locale in active:
|
||||
reverse=True,
|
||||
):
|
||||
print(f'{locale}: git cherry-pick', commit)
|
||||
repo.git.cherry_pick(commit)
|
||||
try:
|
||||
repo.git.cherry_pick(commit)
|
||||
except git.exc.GitCommandError as e:
|
||||
for line in repo.git.status(porcelain=True).splitlines():
|
||||
status, path = line.split()
|
||||
if status == 'UU':
|
||||
print('Resetting conflict:', path)
|
||||
repo.git.reset('--', path)
|
||||
repo.git.checkout('--', path)
|
||||
repo.git.cherry_pick('--continue')
|
||||
|
||||
with open(manifest_file, 'a') as fp:
|
||||
for line in manifest_lines:
|
||||
|
||||
Reference in New Issue
Block a user