Commit 760ac95b authored by Michal Čihař's avatar Michal Čihař

Return path to linked repo instead of our own (issue #48)

parent 649d24c7
......@@ -259,6 +259,8 @@ class SubProject(models.Model):
'''
Returns full path to subproject git repository.
'''
if self.is_repo_link():
return self.get_linked_repo().get_path()
return os.path.join(self.project.get_path(), self.slug)
def get_lock_path(self):
......
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