google / google/copybara

Commit History not being preserved from initial migration

Open
#288 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

I am migrating a service from monorepo to it's own repo, for initial copying the files from source repo to destination repo, git commit history of source repo is not being copied over.

Config looks like

```
core.workflow(
name = "abc_monorepo",
mode="ITERATIVE",
origin = git.origin(
url = "https://github.xyz.net/abc/ghi.git",
ref = "main",
first_parent = False,
),
destination = git.destination(
url = destinationURL,
fetch = "main",
push = "main",
),
origin_files = glob([
"mno/**"
],
exclude = []),
transformations = [],
destination_files = glob(
["**"],
exclude = []
),
authoring = authoring.pass_thru("ghi "),
)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.