Show More
@@ -1,4 +1,4 b'' | |||||
1 | #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull push pull-upgrade |
|
1 | #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull push pull-upgrade push-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 | |
@@ -73,7 +73,6 b' use git diff to see rename' | |||||
73 | > EOF |
|
73 | > EOF | |
74 | #endif |
|
74 | #endif | |
75 |
|
75 | |||
76 |
|
||||
77 | #if pull-upgrade |
|
76 | #if pull-upgrade | |
78 | $ cat >> $HGRCPATH << EOF |
|
77 | $ cat >> $HGRCPATH << EOF | |
79 | > [format] |
|
78 | > [format] | |
@@ -84,6 +83,16 b' use git diff to see rename' | |||||
84 | > EOF |
|
83 | > EOF | |
85 | #endif |
|
84 | #endif | |
86 |
|
85 | |||
|
86 | #if push-upgrade | |||
|
87 | $ cat >> $HGRCPATH << EOF | |||
|
88 | > [format] | |||
|
89 | > exp-use-side-data = no | |||
|
90 | > exp-use-copies-side-data-changeset = no | |||
|
91 | > [experimental] | |||
|
92 | > changegroup4 = yes | |||
|
93 | > EOF | |||
|
94 | #endif | |||
|
95 | ||||
87 | $ cat > same-content.txt << EOF |
|
96 | $ cat > same-content.txt << EOF | |
88 | > Here is some content that will be the same accros multiple file. |
|
97 | > Here is some content that will be the same accros multiple file. | |
89 | > |
|
98 | > | |
@@ -1770,6 +1779,28 b' We upgrade a repository that is not usin' | |||||
1770 | $ cd ../repo-chain |
|
1779 | $ cd ../repo-chain | |
1771 | #endif |
|
1780 | #endif | |
1772 |
|
1781 | |||
|
1782 | #if push-upgrade | |||
|
1783 | $ cat >> $HGRCPATH << EOF | |||
|
1784 | > [format] | |||
|
1785 | > exp-use-side-data = yes | |||
|
1786 | > exp-use-copies-side-data-changeset = yes | |||
|
1787 | > [experimental] | |||
|
1788 | > changegroup4 = yes | |||
|
1789 | > EOF | |||
|
1790 | $ cd .. | |||
|
1791 | $ mv repo-chain repo-source | |||
|
1792 | $ hg init repo-chain | |||
|
1793 | $ cd repo-source | |||
|
1794 | $ hg push ../repo-chain | |||
|
1795 | pushing to ../repo-chain | |||
|
1796 | searching for changes | |||
|
1797 | adding changesets | |||
|
1798 | adding manifests | |||
|
1799 | adding file changes | |||
|
1800 | added 80 changesets with 44 changes to 25 files (+39 heads) | |||
|
1801 | $ cd ../repo-chain | |||
|
1802 | #endif | |||
|
1803 | ||||
1773 | #if no-compatibility no-filelog no-changeset |
|
1804 | #if no-compatibility no-filelog no-changeset | |
1774 |
|
1805 | |||
1775 | $ hg debugchangedfiles --compute 0 |
|
1806 | $ hg debugchangedfiles --compute 0 |
General Comments 0
You need to be logged in to leave comments.
Login now