Repository navigation
Is there a way to use JJ in existing repos managed by the Android Open Source Project repo tool?
#9538
|
The Android Open Source Project (AOSP) provides a tool, I can The repository is used with Gerrit, so JJ's workflow would (IMO) be much nicer than git's for working with Gerrit. |
Replies: 2 comments 1 reply
|
iirc, You can also do |
|
It seems the version of
That worked. Since So #9358 combined with |
It seems the version of
gitI have (from Nix, likely this issue) is making all repositories withreftableformat by default, whichjjdoesn't seem to support yet.repowas a red-herring, but I managed to get a non-colocated repo that should work:git init --ref-format=files --bare <path/to/repo-backing.git>git -C <path/to/repo-backing.git> remote add reftable-source file://<path/to/bare/repository/managed/by/repo.git>git -C <path/to/repo-backing.git> fetch reftable-source '+refs/heads/*:refs/heads/*' 'refs/remotes/<name>/*:refs/remotes/<name>/*'git -C <path/to/repo-backing.git> symbolic-ref HEAD refs/heads/mastergit -C <path/to/repo-backing.git> remote add <name> ssh://<URI>mkdir -p …