about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docs/REVIEWS.md6
-rw-r--r--ops/kontemplate/default.nix2
-rw-r--r--ops/kontemplate/release.nix2
-rw-r--r--users/lukegb/hgext/gerrithook.py4
4 files changed, 7 insertions, 7 deletions
diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md
index 5be81acbef59..3f0036456bee 100644
--- a/docs/REVIEWS.md
+++ b/docs/REVIEWS.md
@@ -49,13 +49,13 @@ and all development happens at `HEAD`.
 Every time you create a new commit the change hook will insert a unique
 `Change-Id` tag into the commit message. Once you are satisfied with the state
 of your commit and want to submit it for review, you push it to a git ref called
-`refs/for/master`. This designates the commits as changelists (CLs) targeted for
-the `master` branch.
+`refs/for/canon`. This designates the commits as changelists (CLs) targeted for
+the `canon` branch.
 
 ```
 Example:
 git commit -m 'docs(REVIEWS): Fixed all the errors in the reviews docs'
-git push origin HEAD:refs/for/master
+git push origin HEAD:refs/for/canon
 ```
 
 TIP: Every individual commit will become a separate change. We do not merge
diff --git a/ops/kontemplate/default.nix b/ops/kontemplate/default.nix
index 9085f31c304b..eb1290687735 100644
--- a/ops/kontemplate/default.nix
+++ b/ops/kontemplate/default.nix
@@ -14,7 +14,7 @@
 
 with depot.third_party; buildGoPackage rec {
   name = "kontemplate-${version}";
-  version = "master";
+  version = "canon";
   src = ./.;
   goPackagePath = "github.com/tazjin/kontemplate";
   goDeps = ./deps.nix;
diff --git a/ops/kontemplate/release.nix b/ops/kontemplate/release.nix
index 4af08f50c7bb..8a04109526cf 100644
--- a/ops/kontemplate/release.nix
+++ b/ops/kontemplate/release.nix
@@ -18,7 +18,7 @@ let pkgs = import ((import <nixpkgs> {}).fetchFromGitHub {
 }) {};
 in with pkgs; buildGoPackage rec {
   name = "kontemplate-${version}";
-  version = "master";
+  version = "canon";
   src = ./.;
   goPackagePath = "github.com/tazjin/kontemplate";
   goDeps = ./deps.nix;
diff --git a/users/lukegb/hgext/gerrithook.py b/users/lukegb/hgext/gerrithook.py
index 8b24f7bd71ad..ef02126ba0f8 100644
--- a/users/lukegb/hgext/gerrithook.py
+++ b/users/lukegb/hgext/gerrithook.py
@@ -48,11 +48,11 @@ def gerritobsolete(ui, repo, **opts):
     if not drafts:
         return
     publicparent = next(repo.set(
-        b'ancestor((public() and bookmark("master")), %s)' % (
+        b'ancestor((public() and bookmark("canon")), %s)' % (
             b', '.join(x.hex() for x in drafts))))
     megare = b're:(?ms)^Change-Id: (%s)$' % (b'|'.join(changesets.keys()),)
     markers = []
-    for public in repo.set('(%s..(public() and master)) and desc(%s)', publicparent, megare):
+    for public in repo.set('(%s..(public() and canon)) and desc(%s)', publicparent, megare):
         match = _changeid_regex.search(public.description())
         if not match:
             continue