##// END OF EJS Templates
test-copies: test that copies' sidedata does not get corrupted during push...
marmoute -
r47852:fa5bc416 default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull
1 #testcases filelog compatibility changeset sidedata upgraded upgraded-parallel pull push
2
2
3 =====================================================
3 =====================================================
4 Test Copy tracing for chain of copies involving merge
4 Test Copy tracing for chain of copies involving merge
@@ -65,6 +65,14 b' use git diff to see rename'
65 > EOF
65 > EOF
66 #endif
66 #endif
67
67
68 #if push
69 $ cat >> $HGRCPATH << EOF
70 > [format]
71 > exp-use-side-data = yes
72 > exp-use-copies-side-data-changeset = yes
73 > EOF
74 #endif
75
68
76
69 $ cat > same-content.txt << EOF
77 $ cat > same-content.txt << EOF
70 > Here is some content that will be the same accros multiple file.
78 > Here is some content that will be the same accros multiple file.
@@ -1714,6 +1722,21 b' We upgrade a repository that is not usin'
1714 (run 'hg heads' to see heads, 'hg merge' to merge)
1722 (run 'hg heads' to see heads, 'hg merge' to merge)
1715 #endif
1723 #endif
1716
1724
1725 #if push
1726 $ cd ..
1727 $ mv repo-chain repo-source
1728 $ hg init repo-chain
1729 $ cd repo-source
1730 $ hg push ../repo-chain
1731 pushing to ../repo-chain
1732 searching for changes
1733 adding changesets
1734 adding manifests
1735 adding file changes
1736 added 80 changesets with 44 changes to 25 files (+39 heads)
1737 $ cd ../repo-chain
1738 #endif
1739
1717 #if no-compatibility no-filelog no-changeset
1740 #if no-compatibility no-filelog no-changeset
1718
1741
1719 $ hg debugchangedfiles --compute 0
1742 $ hg debugchangedfiles --compute 0
General Comments 0
You need to be logged in to leave comments. Login now