HG bulk rebase
-
vim ~/.hgrc
-
add "merge = internal:merge"
[图片上传失败...(image-9db69f-1541844995614)] -
"HG_brebase.sh -f ssh://hg@135.251.206.233/HD_RX_MS tip -t ssh://hg@135.251.206.233/HD_R61_FDT1356 tip"
NOTE: Get code from HD_RX_MS to local FDT1356 -
"hg head"
NOTE: 2 heads -
output 5 files
automerge.tar: include successfully merged files
automerge.txt: include list of files successfully merged
unresolve.tar: include files which failed in merge
unresolveorig.tar: include local files which have confilicts
unresolve.txt: indicate contend of files which need merge -
"hg resolve -l"
U apps/private/appkgs/cfgmgr_ms/src/preconfiguration_global.xml
NOTE: check status of unmerged files,U means need to merge -
"hg resolve -m apps/private/appkgs/cfgmgr_ms/src/preconfiguration_global.xml"
"hg resolve -l"
R apps/private/appkgs/cfgmgr_ms/src/preconfiguration_global.xml
NOTE:R means succussfully merge, after all unmerged files change to R, execute committ -
hg ci -m "FR ALU02522028:[HD_R61_FDT1356]bulk rebase with RX_MS"
NOTE: do not point to accurate path or file -
post-review --target-people=XXXX --bugs-closed=ALU02522028 -p
NOTE: post-reivew will be a long time, depend on the files which need to merege -
"hg out | grep changeset | wc -l"
list number of files which need to merge -
when post-review finish, will appear inforamtion as below
Review request #81670 posted.
http://135.251.206.105/r/81670/ -
"hg push" (after code is shiped)
-
"hg out"
Message as below:
searching for changes
no changes found -
"hg head"
NOTE 1 head
网友评论