mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dont do qt6 transition when rebase in progress
This commit is contained in:
parent
cee59dbf18
commit
0a18e51a32
@ -18,8 +18,9 @@ os.chdir(base)
|
||||
|
||||
if flags == '1': # A branch checkout
|
||||
prev_branch, cur_branch = list(map(get_branch_name, (prev_rev, current_rev)))
|
||||
rebase_in_progress = os.path.exists('.git/rebase-apply') or os.path.exists('.git/rebase-merge')
|
||||
|
||||
if {prev_branch, cur_branch} == {'master', 'qt6'}:
|
||||
if {prev_branch, cur_branch} == {'master', 'qt6'} and not rebase_in_progress:
|
||||
b = 'qt6' if cur_branch == 'qt6' else 'qt5'
|
||||
for x in os.listdir(f'bypy/b/{b}'):
|
||||
link = f'bypy/b/{x}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user