comparison tests/test-phabricator.t @ 44576:2ec6160449aa

tests: avoid logging a commit with a Unicode character in test-phabricator.t The previous output was generated on Windows, and should have been wrapped in `HGENCODING=utf-8` like it is earlier in the test. It's simpler to just avoid it. I only noticed the output change when I got around to running it on a Mac. Differential Revision: https://phab.mercurial-scm.org/D8303
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 19 Mar 2020 14:54:10 -0400
parents 9bae1d1a0f4c
children a7f8c657a3f0
comparison
equal deleted inserted replaced
44575:a6ef1e8e2f6d 44576:2ec6160449aa
330 $ cp repo/.hg/hgrc repo2/.hg/ 330 $ cp repo/.hg/hgrc repo2/.hg/
331 $ cd repo2 331 $ cd repo2
332 $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json" 332 $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json"
333 applying patch from D7917 333 applying patch from D7917
334 applying patch from D7918 334 applying patch from D7918
335 $ hg log -G -Tcompact 335 $ hg log -r .: -G -Tcompact
336 o 3[tip] aaef04066140 1970-01-01 00:00 +0000 test 336 o 3[tip] aaef04066140 1970-01-01 00:00 +0000 test
337 | create draft change for phabricator testing 337 | create draft change for phabricator testing
338 | 338 |
339 o 2 8de3712202d1 1970-01-01 00:00 +0000 test 339 o 2 8de3712202d1 1970-01-01 00:00 +0000 test
340 | create public change for phabricator testing 340 | create public change for phabricator testing
341 | 341 |
342 @ 1 a692622e6937 1970-01-01 00:00 +0000 test 342 @ 1 a692622e6937 1970-01-01 00:00 +0000 test
343 | create beta for phabricator test 343 | create beta for phabricator test
344 | 344 ~
345 o 0 c44b38f24a45 1970-01-01 00:00 +0000 test
346 create alpha for phabricator test \x80 (esc)
347
348 Phabimport can create secret commits 345 Phabimport can create secret commits
349 346
350 $ hg rollback --config ui.rollback=True 347 $ hg rollback --config ui.rollback=True
351 repository tip rolled back to revision 1 (undo phabimport) 348 repository tip rolled back to revision 1 (undo phabimport)
352 $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json" \ 349 $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json" \
353 > --config phabimport.secret=True 350 > --config phabimport.secret=True
354 applying patch from D7917 351 applying patch from D7917
355 applying patch from D7918 352 applying patch from D7918
356 $ hg log -T phases 353 $ hg log -r 'reverse(.:)' -T phases
357 changeset: 3:aaef04066140 354 changeset: 3:aaef04066140
358 tag: tip 355 tag: tip
359 phase: secret 356 phase: secret
360 user: test 357 user: test
361 date: Thu Jan 01 00:00:00 1970 +0000 358 date: Thu Jan 01 00:00:00 1970 +0000
371 phase: public 368 phase: public
372 user: test 369 user: test
373 date: Thu Jan 01 00:00:00 1970 +0000 370 date: Thu Jan 01 00:00:00 1970 +0000
374 summary: create beta for phabricator test 371 summary: create beta for phabricator test
375 372
376 changeset: 0:c44b38f24a45
377 phase: public
378 user: test
379 date: Thu Jan 01 00:00:00 1970 +0000
380 summary: create alpha for phabricator test \x80 (esc)
381
382 373
383 $ cd .. 374 $ cd ..