24 lines
754 B
Text
24 lines
754 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"]),
|
|
core.move("", "third_party/copybara"),
|
|
],
|
|
)
|