##// END OF EJS Templates
test-copies: test that copies' sidedata can get computed during pull...
marmoute -
r47853:f506adbe default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull push
1 #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull push pull-upgrade
2
2
3 =====================================================
3 =====================================================
4 Test Copy tracing for chain of copies involving merge
4 Test Copy tracing for chain of copies involving merge
@@ -74,6 +74,16 b' use git diff to see rename'
74 #endif
74 #endif
75
75
76
76
77 #if pull-upgrade
78 $ cat >> $HGRCPATH << EOF
79 > [format]
80 > exp-use-side-data = no
81 > exp-use-copies-side-data-changeset = no
82 > [experimental]
83 > changegroup4 = yes
84 > EOF
85 #endif
86
77 $ cat > same-content.txt << EOF
87 $ cat > same-content.txt << EOF
78 > Here is some content that will be the same accros multiple file.
88 > Here is some content that will be the same accros multiple file.
79 >
89 >
@@ -1722,6 +1732,29 b' We upgrade a repository that is not usin'
1722 (run 'hg heads' to see heads, 'hg merge' to merge)
1732 (run 'hg heads' to see heads, 'hg merge' to merge)
1723 #endif
1733 #endif
1724
1734
1735 #if pull-upgrade
1736 $ cat >> $HGRCPATH << EOF
1737 > [format]
1738 > exp-use-side-data = yes
1739 > exp-use-copies-side-data-changeset = yes
1740 > [experimental]
1741 > changegroup4 = yes
1742 > EOF
1743 $ cd ..
1744 $ mv repo-chain repo-source
1745 $ hg init repo-chain
1746 $ cd repo-chain
1747 $ hg pull ../repo-source
1748 pulling from ../repo-source
1749 requesting all changes
1750 adding changesets
1751 adding manifests
1752 adding file changes
1753 added 80 changesets with 44 changes to 25 files (+39 heads)
1754 new changesets a3a31bbefea6:908ce9259ffa
1755 (run 'hg heads' to see heads, 'hg merge' to merge)
1756 #endif
1757
1725 #if push
1758 #if push
1726 $ cd ..
1759 $ cd ..
1727 $ mv repo-chain repo-source
1760 $ mv repo-chain repo-source
General Comments 0
You need to be logged in to leave comments. Login now