diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-31 14:45:36 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-31 14:45:36 +0100 |
commit | dcd0f4a5c95cf3187b0ff16d4b64b9265c84074d (patch) | |
tree | 637c3497f585f5f942041e856d433390bb906a55 | |
parent | 9d529e57f7ab4ffd02a6f79f97ecc39fce928f38 (diff) | |
download | gitano-dcd0f4a5c95cf3187b0ff16d4b64b9265c84074d.tar.gz |
REPOSITORY: Allow lace to run against nascent repositories
-rw-r--r-- | lib/gitano/repository.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gitano/repository.lua b/lib/gitano/repository.lua index b8555c4..539072b 100644 --- a/lib/gitano/repository.lua +++ b/lib/gitano/repository.lua @@ -375,7 +375,11 @@ end function repo_method:populate_context(context) context["repository"] = self.name - context["owner"] = self:conf_get "project.owner" + if self.is_nascent then + context["owner"] = "gitano/nobody" + else + context["owner"] = self:conf_get "project.owner" + end context["_repo"] = self end |