зеркало из https://github.com/mozilla/bugbug.git
Use 'tip' branch to support autoland but keep skipping relbranch commits (#1395)
For example, 961f253985a4388008700a6a6fde80f4e17c0b4b wouldn't be skipped if we simply removed the branch parameter. This way, we can also stop using the firefoxtree extension.
This commit is contained in:
Родитель
dec139e996
Коммит
7ba1ab7cc4
|
@ -260,7 +260,7 @@ def hg_modified_files(hg, commit):
|
|||
template=template,
|
||||
no_merges=True,
|
||||
rev=commit.node.encode("ascii"),
|
||||
branch="central",
|
||||
branch="tip",
|
||||
)
|
||||
x = hg.rawcommand(args)
|
||||
files_str, file_copies_str = x.split(b"\x00")[:-1]
|
||||
|
@ -553,7 +553,7 @@ def hg_log(hg, revs):
|
|||
template=template,
|
||||
no_merges=True,
|
||||
rev=revs[0] + b":" + revs[-1],
|
||||
branch="central",
|
||||
branch="tip",
|
||||
)
|
||||
x = hg.rawcommand(args)
|
||||
out = x.split(b"\x00")[:-1]
|
||||
|
@ -606,7 +606,7 @@ def get_revs(hg, rev_start=0, rev_end="tip"):
|
|||
b"log",
|
||||
template="{node}\n",
|
||||
no_merges=True,
|
||||
branch="central",
|
||||
branch="tip",
|
||||
rev=f"{rev_start}:{rev_end}",
|
||||
)
|
||||
x = hg.rawcommand(args)
|
||||
|
|
|
@ -5,4 +5,3 @@ robustcheckout = /version-control-tools/hgext/robustcheckout/__init__.py
|
|||
hgmo = /version-control-tools/hgext/hgmo
|
||||
pushlog = /version-control-tools/hgext/pushlog
|
||||
mozext = /version-control-tools/hgext/mozext
|
||||
firefoxtree = /version-control-tools/hgext/firefoxtree
|
||||
|
|
Загрузка…
Ссылка в новой задаче