# HG changeset patch # User Pulkit Goyal # Date 2018-10-13 02:17:28 # Node ID 0b46e1aa77609c48e77f73ef987807f4a123d6a5 # Parent fed5e57c8dc7494a9c74e4f6bfa6b69b1b0f76e5 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 diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -393,6 +393,7 @@ test-obsolete-distributed.t 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-patch.t 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 diff --git a/tests/test-origbackup-conflict.t b/tests/test-origbackup-conflict.t --- a/tests/test-origbackup-conflict.t +++ b/tests/test-origbackup-conflict.t @@ -129,7 +129,7 @@ Incorrectly configure origbackuppath to 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 diff --git a/tests/test-pathconflicts-basic.t b/tests/test-pathconflicts-basic.t --- a/tests/test-pathconflicts-basic.t +++ b/tests/test-pathconflicts-basic.t @@ -88,7 +88,7 @@ Basic clean update - local directory con $ 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