~mdw
/
ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d23bbb
)
bin/add: Don't allow adding requests with defunct profiles.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:18:45 +0000
(
03:18
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:42:57 +0000
(
03:42
+0000)
That's why we have the tombstoning.
bin/add
patch
|
blob
|
blame
|
history
diff --git
a/bin/add
b/bin/add
index
bf144ae
..
d4eae0f
100755
(executable)
--- a/
bin/add
+++ b/
bin/add
@@
-70,7
+70,7
@@
db transaction {
## Check whether the profile exists.
if {![db exists {
- SELECT 1 FROM profile WHERE label = $profile;
+ SELECT 1 FROM profile WHERE label = $profile
AND tombstone = 0
;
}]} {
error "unknown profile `$profile'"
}