Synchronizing repo with outside snapshot.xml

63 views
Skip to first unread message

dick.r...@gmail.com

unread,
Feb 5, 2021, 9:47:02 AM2/5/21
to repo-d...@googlegroups.com
Suppose I start with:

repo init -u https://cos.googlesource.com/cos/manifest.git

How to now have repo sync according to an outside manifest found at

https://cos.googlesource.com/cos/manifest-snapshots/+/refs/tags/13310.1209.3/snapshot.xml

In other words, I want the equivalent of a `git checkout tag`.

dick.r...@gmail.com

unread,
Feb 5, 2021, 11:57:15 AM2/5/21
to repo-d...@googlegroups.com
vap...@chromium.org has responded to me on chromium-os-discussion with

> repo init -c -u https://cos.googlesource.com/cos/manifest-snapshots -b
> refs/tags/13310.1209.3 -m snapshot.xml

This looks very good! Sorry for the cross-post noise.
Reply all
Reply to author
Forward
0 new messages