Patchwork D8303: tests: avoid logging a commit with a Unicode character in test-phabricator.t

login
register
mail settings
Submitter phabricator
Date March 19, 2020, 8:15 p.m.
Message ID <dd7602664a8f4449cd951210cb45f4df@localhost.localdomain>
Download mbox | patch
Permalink /patch/45834/
State Not Applicable
Headers show

Comments

phabricator - March 19, 2020, 8:15 p.m.
Closed by commit rHG2ec6160449aa: tests: avoid logging a commit with a Unicode character in test-phabricator.t (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8303?vs=20836&id=20837

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8303/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8303

AFFECTED FILES
  tests/test-phabricator.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
@@ -332,7 +332,7 @@ 
   $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json"
   applying patch from D7917
   applying patch from D7918
-  $ hg log -G -Tcompact
+  $ hg log -r .: -G -Tcompact
   o  3[tip]   aaef04066140   1970-01-01 00:00 +0000   test
   |    create draft change for phabricator testing
   |
@@ -341,10 +341,7 @@ 
   |
   @  1   a692622e6937   1970-01-01 00:00 +0000   test
   |    create beta for phabricator test
-  |
-  o  0   c44b38f24a45   1970-01-01 00:00 +0000   test
-       create alpha for phabricator test \x80 (esc)
-  
+  ~
 Phabimport can create secret commits
 
   $ hg rollback --config ui.rollback=True
@@ -353,7 +350,7 @@ 
   >    --config phabimport.secret=True
   applying patch from D7917
   applying patch from D7918
-  $ hg log -T phases
+  $ hg log -r 'reverse(.:)' -T phases
   changeset:   3:aaef04066140
   tag:         tip
   phase:       secret
@@ -373,11 +370,5 @@ 
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     create beta for phabricator test
   
-  changeset:   0:c44b38f24a45
-  phase:       public
-  user:        test
-  date:        Thu Jan 01 00:00:00 1970 +0000
-  summary:     create alpha for phabricator test \x80 (esc)
-  
 
   $ cd ..