Sometimes in order to reproduce the problem, we need to package the code in the Code warehouse the previous few days
Put the manifest file that was packaged for the day into the. repo/manifests/inside of any set of code, assuming this file is named Pre_version.xml
And then execute
Repo Init-m Pre_version.xml
Next we use the order
LL. repo/manifest.xml
Look at the Manifset in the package and see that it's already linked to the pre_version.xml we made
The last time you synchronize code, you can overwrite code that already exists for security
Repo SYNC-CDF--force-sync
The meaning of options such as CDF:
$ repo Help Sync
-C,--current-branch fetch only the current branch from server
-D,--detach detach projects back to manifest revision
-F,--force-broken continue sync even if a project fails to sync
--force-sync overwrite an existing git directory if it needs to
Point to a different object directory. Warning:this
May cause loss of data
Repo Sync's-C parameter downloads only the current branch, speeds up code downloads, and saves hard disk space
The Help form for the Ps:repo command is Repo command [ARGS]
$ repo Help
Usage:repo COMMAND [ARGS]
The most commonly used repo commands are:
Abandon permanently abandon a development branch
Branch View Current Topic branches
Branches View Current topic branches
Checkout checkout a branch for development
Cherry-pick Cherry-pick a change.
Diff show changes between commits and working tree
Diffmanifests Manifest diff Utility
Download Download and checkout a change
grep Print lines matching a pattern
Info Get info on the manifest branch, current branch or unmerged branches
Init Initialize repo in the current directory
List List projects and their associated directories
Overview Display Overview of unmerged project branches
Prune prune (delete) already merged topics
Rebase rebase Local branches on upstream branch
Smartsync Update working tree to the latest known good revision
Stage stage file (s) for commit
Start start a new branch for development
Status show the working tree status
Sync Update working tree to the latest revision
Upload upload changes for code review
"Repo help <command>" for the more information on a specific command.
"Repo help--all" for a complete list of recognized commands.