Closed louisrigot closed 3 years ago
If I want to rename a branch, for example renaming master into main:
master
main
repo.branch('master', new_branch='main', force=True, move=True)
results in this being executed: dolt branch --force master instead of dolt branch --force --move master main.
dolt branch --force master
dolt branch --force --move master main
I'm pretty sure the issue is in core/dolt.py, line 612
if branch_name and not(delete and copy and move):
should be
if branch_name and not(delete or copy or move):
If I want to rename a branch, for example renaming
master
intomain
:results in this being executed:
dolt branch --force master
instead ofdolt branch --force --move master main
.I'm pretty sure the issue is in core/dolt.py, line 612
should be