changeset 31651:d3140fd322bf

py3: prove second commit works Finally it works.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 26 Mar 2017 19:11:41 +0900
parents 23391acfc421
children d5cbbee542eb
files tests/test-check-py3-commands.t
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-py3-commands.t	Sun Mar 26 19:06:48 2017 +0900
+++ b/tests/test-check-py3-commands.t	Sun Mar 26 19:11:41 2017 +0900
@@ -123,19 +123,12 @@
   $ $PYTHON3 $HGBIN commit --message 'commit performed in Python 3'
   $ $PYTHON3 $HGBIN status
 
-TODO: bdiff is broken on Python 3 so we can't do a second commit yet,
-when that works remove this rollback command.
-  $ hg rollback
-  repository tip rolled back to revision -1 (undo commit)
-  working directory now based on revision -1
-
   $ mkdir A
   $ echo "This is the file 'mu'." > A/mu
   $ $PYTHON3 $HGBIN addremove
   adding A/mu
   $ $PYTHON3 $HGBIN status
   A A/mu
-  A iota
   $ HGEDITOR='echo message > ' $PYTHON3 $HGBIN commit
   $ $PYTHON3 $HGBIN status
 
@@ -145,11 +138,16 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  2 files, 1 changesets, 2 total revisions
+  2 files, 2 changesets, 2 total revisions
   $ hg log
-  changeset:   0:e825505ba339
+  changeset:   1:e1e9167203d4
   tag:         tip
   user:        test
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     message
   
+  changeset:   0:71c96e924262
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     commit performed in Python 3
+