Fixed the function to switch git repo branches
This commit is contained in:
parent
4e36bb0cf4
commit
d9ad1454e3
@ -53,7 +53,8 @@ class FormulaRepo():
|
|||||||
|
|
||||||
# switch to branch
|
# switch to branch
|
||||||
def switch_branch(self, branch):
|
def switch_branch(self, branch):
|
||||||
self.repo.checkout('branch')
|
print('Switching %s to the \'%s\' branch' % (self.repo_path, branch))
|
||||||
|
self.repo.checkout(branch)
|
||||||
|
|
||||||
# retrieves repo from remote location
|
# retrieves repo from remote location
|
||||||
def retrieve(self):
|
def retrieve(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user