summaryrefslogtreecommitdiff
path: root/testing/admin-patches/must-rename-to-FOO.patch
blob: 5566474ab73830a505bef61aaa6a24eca1e9606c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/rules/project.lace b/rules/project.lace
index aafa17c..388766a 100644
--- a/rules/project.lace
+++ b/rules/project.lace
@@ -43,6 +43,8 @@ include global:remoteconfigchecks op_is_config
 # Okay, if we're altering the admin ref, in we go
 include global:adminchecks is_admin_ref
 
+deny "Needs a FOO" op_is_normal ![treediff/renamedto is FOO]
+
 # Now we're into branch operations.  Owners can do any normal operation
 # Normal ops are create/delete/fastforward on refs
 allow "Owners can create refs" op_is_normal is_owner