96 revision 2ecb03bf44a94e749e8669481dd9069526ce7cb9 |
96 revision 2ecb03bf44a94e749e8669481dd9069526ce7cb9 |
97 $ hg debugsub -R cloned/sub1 |
97 $ hg debugsub -R cloned/sub1 |
98 path sub2 |
98 path sub2 |
99 source ../sub2 |
99 source ../sub2 |
100 revision 53dd3430bcaf5ab4a7c48262bcad6d441f510487 |
100 revision 53dd3430bcaf5ab4a7c48262bcad6d441f510487 |
|
101 |
|
102 Check that deep archive works with largefiles (which overrides hgsubrepo impl) |
|
103 This also tests the repo.ui regression in 43fb170a23bd, and that lf subrepo |
|
104 subrepos are archived properly. |
|
105 Note that add --large through a subrepo currently adds the file as a normal file |
|
106 |
|
107 $ cd cloned |
|
108 $ echo "large" > sub1/sub2/large.bin |
|
109 $ hg --config extensions.largefiles= add --large -R sub1/sub2 sub1/sub2/large.bin |
|
110 $ echo "large" > large.bin |
|
111 $ hg --config extensions.largefiles= add --large large.bin |
|
112 $ hg --config extensions.largefiles= ci -S -m "add large files" |
|
113 committing subrepository sub1 |
|
114 committing subrepository sub1/sub2 |
|
115 |
|
116 $ hg --config extensions.largefiles= archive -S ../archive_lf |
|
117 $ find ../archive_lf | sort |
|
118 ../archive_lf |
|
119 ../archive_lf/.hg_archival.txt |
|
120 ../archive_lf/.hgsub |
|
121 ../archive_lf/.hgsubstate |
|
122 ../archive_lf/large.bin |
|
123 ../archive_lf/main |
|
124 ../archive_lf/sub1 |
|
125 ../archive_lf/sub1/.hgsub |
|
126 ../archive_lf/sub1/.hgsubstate |
|
127 ../archive_lf/sub1/sub1 |
|
128 ../archive_lf/sub2 |
|
129 ../archive_lf/sub2/large.bin |
|
130 ../archive_lf/sub2/sub2 |
|
131 |
|
132 $ cd .. |