Mercurial > hg-stable
comparison tests/test-py3-commands.t @ 32822:90ce5f0366ba
py3: use python3 hg in test-py3-commands.t at places where py2 hg was used
This patch fixes my mistakes where I added test in test-py3-commands.t as
`hg ...` where I forgot hg here refers to Python 2 mercurial.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 13 Jun 2017 01:23:54 +0530 |
parents | 74e9496e4986 |
children | 7fed389f9a9f |
comparison
equal
deleted
inserted
replaced
32821:f40eec7af044 | 32822:90ce5f0366ba |
---|---|
181 user: test | 181 user: test |
182 date: Thu Jan 01 00:00:00 1970 +0000 | 182 date: Thu Jan 01 00:00:00 1970 +0000 |
183 summary: commit performed in Python 3 | 183 summary: commit performed in Python 3 |
184 | 184 |
185 | 185 |
186 $ hg log -G | 186 $ $PYTHON3 $HGBIN log -G |
187 @ changeset: 1:e1e9167203d4 | 187 @ changeset: 1:e1e9167203d4 |
188 | tag: tip | 188 | tag: tip |
189 | user: test | 189 | user: test |
190 | date: Thu Jan 01 00:00:00 1970 +0000 | 190 | date: Thu Jan 01 00:00:00 1970 +0000 |
191 | summary: message | 191 | summary: message |
193 o changeset: 0:71c96e924262 | 193 o changeset: 0:71c96e924262 |
194 user: test | 194 user: test |
195 date: Thu Jan 01 00:00:00 1970 +0000 | 195 date: Thu Jan 01 00:00:00 1970 +0000 |
196 summary: commit performed in Python 3 | 196 summary: commit performed in Python 3 |
197 | 197 |
198 $ hg log -Tjson | 198 $ $PYTHON3 $HGBIN log -Tjson |
199 [ | 199 [ |
200 { | 200 { |
201 "rev": 1, | 201 "rev": 1, |
202 "node": "e1e9167203d450ca2f558af628955b5f5afd4489", | 202 "node": "e1e9167203d450ca2f558af628955b5f5afd4489", |
203 "branch": "default", | 203 "branch": "default", |
223 } | 223 } |
224 ] | 224 ] |
225 | 225 |
226 Show that update works now! | 226 Show that update works now! |
227 | 227 |
228 $ hg up 0 | 228 $ $PYTHON3 $HGBIN up 0 |
229 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | 229 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
230 $ hg identify | 230 $ $PYTHON3 $HGBIN identify |
231 71c96e924262 | 231 71c96e924262 |