Commit 5aa6f5ed authored by Michal Čihař's avatar Michal Čihař

Get git repository object

parent 2ad61a38
......@@ -724,6 +724,8 @@ class SubProject(models.Model):
'''
Updates current branch to remote using merge.
'''
gitrepo = self.get_repo()
with self.get_git_lock():
try:
# Try to merge it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment