I created a mirrored repo workspace like this:
repo init -u $url -b $branch -m $manifest --mirror
repo sync
I would like to update the mirror to use a different manifest or an updated manifest and then re-sync to pull down any new or missing changes. If I try to run the same init command, it complains:
fatal: --mirror is only supported when initializing a new workspace.
Either delete the .repo folder in this workspace, or initialize in another location.
I suppose that I could manually fetch within .repo/manifests
and then update the symlink, .repo/manifest.xml
. I'd like to use the repo tool instead, though, if possible.
Or I could remove the entire .repo
directory and then run the init command again. I'm avoiding this because unfortunately my manifest file is inside a 12GB repository. So, re-cloning is time consuming.