aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/guix-revision.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-02-08 11:27:07 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-08 11:27:07 +0000
commit552723cef15285d36f1ca8ae87d8672a093522d2 (patch)
tree53749ff1e8f9359e73ac455e957c58aa0f9050f3 /guix-data-service/model/guix-revision.scm
parent0a49c0a84af6fc95a6deba8584da7517b135abf2 (diff)
downloaddata-service-552723cef15285d36f1ca8ae87d8672a093522d2.tar
data-service-552723cef15285d36f1ca8ae87d8672a093522d2.tar.gz
Add an error page for unknown commits
Diffstat (limited to 'guix-data-service/model/guix-revision.scm')
-rw-r--r--guix-data-service/model/guix-revision.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/model/guix-revision.scm b/guix-data-service/model/guix-revision.scm
index d9a8976..34df5e6 100644
--- a/guix-data-service/model/guix-revision.scm
+++ b/guix-data-service/model/guix-revision.scm
@@ -14,7 +14,8 @@
conn "SELECT id FROM guix_revisions WHERE commit = $1 LIMIT 1"
(list commit))
(((id))
- id)))
+ id)
+ (() #f)))
(define (insert-guix-revision conn url commit store_path)
(define insert