28 lines
894 B
Text
28 lines
894 B
Text
core.workflow(
|
|
name = "default",
|
|
origin = git.github_origin(
|
|
url = "https://github.com/google/copybara.git",
|
|
ref = "master",
|
|
),
|
|
destination = hg.destination(
|
|
url = "file:///home/lukegb/depot",
|
|
fetch = "default",
|
|
push = "default",
|
|
),
|
|
destination_files = glob(
|
|
["third_party/copybara/**"],
|
|
exclude = [
|
|
"third_party/copybara/copy.bara.sky",
|
|
"third_party/copybara/patches/**",
|
|
],
|
|
),
|
|
authoring = authoring.pass_thru("Default email <noreply+copybara@lukegb.com>"),
|
|
transformations = [
|
|
patch.apply(patches = [
|
|
"patches/0001-Make-Mercurial-at-least-slightly-usable.patch",
|
|
"patches/0002-HgRepository-HGPLAIN.patch",
|
|
"patches/0003-HgDestination-nonpublishing.patch",
|
|
]),
|
|
core.move("", "third_party/copybara"),
|
|
],
|
|
)
|