dolthub / doltpy

A Python API for Dolt
Apache License 2.0
56 stars 13 forks source link

Deleting branch reports error even when it succeeds #106

Closed louisrigot closed 4 years ago

louisrigot commented 4 years ago
repo.branch("foo")
# branch foo now exists
repo.branch("foo", delete=True)
# branch foo is deleted

However, doltpy reports:

doltpy.core.dolt.DoltException: (['dolt', 'branch', '--delete', 'foo', 'f', 'o', 'o'], b'', b"fatal: branch 'foo' not found\n", 1)