Created
June 18, 2012 12:36
-
-
Save cointoss1973/2948176 to your computer and use it in GitHub Desktop.
reproduce of mq and subrepo qrefresh problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM subrepo test script | |
hg version | |
rmdir /s /q tmp | |
mkdir tmp\main | |
cd tmp\main | |
REM ----- initial repositories | |
hg init | |
hg init sub | |
REM ----- subrepo commit | |
echo 0 > sub/0 | |
hg commit -R sub -Am "add file 0" | |
echo 1 > sub/1 | |
hg commit -R sub -Am "add file 1" | |
echo 2 > sub/2 | |
hg commit -R sub -Am "add file 2" | |
echo 3 > sub/3 | |
hg commit -R sub -Am "add file 3" | |
REM ----- Added subrepo | |
echo sub = sub > .hgsub | |
hg add .hgsub | |
hg commit -m "add sub as subrepo" | |
REM ----- main repo and subrepo sync | |
echo 1 > 1 | |
hg add | |
hg update -R sub 0 | |
hg status | |
hg commit -m "add 1(main) subrepo 0" | |
echo a >a | |
hg commit -Am "add file a(main)" | |
echo b >b | |
hg commit -Am "add file b(main)" | |
echo c >c | |
hg commit -Am "add file c(main)" | |
REM ----- qnew for subrepo update | |
hg qnew upsub | |
hg update -R sub 3 | |
thg | |
REM TortoiseHg 再現手順 | |
REM "ファイルリスト"を押下 | |
REM "パッチ更新"押下 | |
REM "パッチ更新"押下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TortoiseHg 2.4.1 NG
TortoiseHg 2.4 NG