changeset 40230:0b46e1aa7760

py3: add some glob to make output compatible with python 3 This makes test-pathconflicts-basic.t and test-origbackup-conflict.t passing on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5042
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 13 Oct 2018 05:17:28 +0300
parents fed5e57c8dc7
children 58d785679e15
files contrib/python3-whitelist tests/test-origbackup-conflict.t tests/test-pathconflicts-basic.t
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python3-whitelist	Sat Oct 13 05:14:23 2018 +0300
+++ b/contrib/python3-whitelist	Sat Oct 13 05:17:28 2018 +0300
@@ -393,6 +393,7 @@
 test-obsolete-divergent.t
 test-obsolete-tag-cache.t
 test-obsolete.t
+test-origbackup-conflict.t
 test-pager-legacy.t
 test-pager.t
 test-parents.t
@@ -402,6 +403,7 @@
 test-patchbomb-bookmark.t
 test-patchbomb-tls.t
 test-patchbomb.t
+test-pathconflicts-basic.t
 test-pathconflicts-merge.t
 test-pathconflicts-update.t
 test-pathencode.py
--- a/tests/test-origbackup-conflict.t	Sat Oct 13 05:14:23 2018 +0300
+++ b/tests/test-origbackup-conflict.t	Sat Oct 13 05:17:28 2018 +0300
@@ -129,7 +129,7 @@
   b/c: replacing untracked file
   getting b/c
   creating directory: $TESTTMP/repo/.hg/badorigbackups/b
-  abort: $ENOTDIR$: '$TESTTMP/repo/.hg/badorigbackups/b'
+  abort: $ENOTDIR$: *$TESTTMP/repo/.hg/badorigbackups/b* (glob)
   [255]
   $ cat .hg/badorigbackups
   data
--- a/tests/test-pathconflicts-basic.t	Sat Oct 13 05:14:23 2018 +0300
+++ b/tests/test-pathconflicts-basic.t	Sat Oct 13 05:17:28 2018 +0300
@@ -88,7 +88,7 @@
   $ mkdir a
   $ echo 4 > a/b
   $ hg up file2
-  abort: *: '$TESTTMP/repo/a' (glob)
+  abort: *: *$TESTTMP/repo/a* (glob)
   [255]
   $ hg up --clean file2
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved