Use _ instead of $ for implementation-detail Prolog predicates
Some non-Maven build systems can't handle $ in filenames, and this was just an arbitrary convention, so it's harmless to change. Change-Id: Ifae89dcc241f1859d2376df7fe226da766fc3011
This commit is contained in:
@@ -70,7 +70,7 @@ get_commit_labels(Rs) :-
|
||||
hash_get(commit_labels, '$all', Rs)
|
||||
.
|
||||
get_commit_labels(Rs) :-
|
||||
'$load_commit_labels'(Rs),
|
||||
'_load_commit_labels'(Rs),
|
||||
set_commit_labels(Rs).
|
||||
|
||||
set_commit_labels(Rs) :-
|
||||
@@ -101,7 +101,7 @@ user_label_range(Label, Who, Min, Max) :-
|
||||
Who = user(_), !,
|
||||
atom(Label),
|
||||
current_user(Who, User),
|
||||
'$user_label_range'(Label, User, Min, Max).
|
||||
'_user_label_range'(Label, User, Min, Max).
|
||||
user_label_range(Label, test_user(Name), Min, Max) :-
|
||||
clause(user:test_grant(Label, test_user(Name), range(Min, Max)), _)
|
||||
.
|
||||
|
Reference in New Issue
Block a user