comparison tests/test-clone.t @ 49825:2f2682f40ea0

tests: use the `--quiet` flag for verify when applicable This reduces a lot of the test output that was otherwise useless, and also makes it a lot easier to add things to verify without breaking the test suite because of additional output.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 02 May 2022 17:47:38 +0200
parents 04688c51f81f
children adecb1ab4a0d
comparison
equal deleted inserted replaced
49824:fdd227585d5a 49825:2f2682f40ea0
57 tags2 57 tags2
58 tags2-served 58 tags2-served
59 59
60 $ cat a 60 $ cat a
61 a 61 a
62 $ hg verify 62 $ hg verify -q
63 checking changesets
64 checking manifests
65 crosschecking files in changesets and manifests
66 checking files
67 checked 11 changesets with 11 changes to 2 files
68 63
69 Invalid dest '' must abort: 64 Invalid dest '' must abort:
70 65
71 $ hg clone . '' 66 $ hg clone . ''
72 abort: empty destination path is not valid 67 abort: empty destination path is not valid
120 tags2 115 tags2
121 tags2-served 116 tags2-served
122 117
123 $ cat a 2>/dev/null || echo "a not present" 118 $ cat a 2>/dev/null || echo "a not present"
124 a not present 119 a not present
125 $ hg verify 120 $ hg verify -q
126 checking changesets
127 checking manifests
128 crosschecking files in changesets and manifests
129 checking files
130 checked 11 changesets with 11 changes to 2 files
131 121
132 Default destination: 122 Default destination:
133 123
134 $ mkdir ../d 124 $ mkdir ../d
135 $ cd ../d 125 $ cd ../d
165 adding file changes 155 adding file changes
166 added 11 changesets with 11 changes to 2 files 156 added 11 changesets with 11 changes to 2 files
167 new changesets acb14030fe0a:a7949464abda 157 new changesets acb14030fe0a:a7949464abda
168 updating to branch default 158 updating to branch default
169 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 159 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
170 $ hg -R g verify 160 $ hg -R g verify -q
171 checking changesets
172 checking manifests
173 crosschecking files in changesets and manifests
174 checking files
175 checked 11 changesets with 11 changes to 2 files
176 161
177 Invalid dest '' with --pull must abort (issue2528): 162 Invalid dest '' with --pull must abort (issue2528):
178 163
179 $ hg clone --pull a '' 164 $ hg clone --pull a ''
180 abort: empty destination path is not valid 165 abort: empty destination path is not valid