Forgot to set the found flag!

This commit is contained in:
Thomas S Hatch 2013-01-01 14:34:48 -07:00
parent 596e536122
commit a9166b72c9

View File

@ -130,6 +130,7 @@ def update():
# Found it, make sure it has the correct ref
if not branch.tracking_branch() is ref:
branch.set_tracking_branch(ref)
found = True
if not found:
branch = repo.create_head(short, ref)
branch.set_tracking_branch(ref)