chore: Update 'master -> canon' in various places
Change-Id: I901c023f707a0223af673c217c65434e26e2ab1f Reviewed-on: https://cl.tvl.fyi/c/depot/+/568 Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
14317eea79
commit
8dedf9d0be
4 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue