Patchwork D11556: dirstate: push back the future a bit in the test

login
register
mail settings
Submitter phabricator
Date Oct. 1, 2021, 6:40 p.m.
Message ID <differential-rev-PHID-DREV-k4u2efqk4ampafy24vmu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49880/
State Superseded
Headers show

Comments

phabricator - Oct. 1, 2021, 6:40 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The future was set to 2021-01-01, we push it by 10 years.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-dirstate.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-dirstate.t b/tests/test-dirstate.t
--- a/tests/test-dirstate.t
+++ b/tests/test-dirstate.t
@@ -53,13 +53,13 @@ 
 
 Set mtime of a into the future:
 
-  $ touch -t 202101011200 a
+  $ touch -t 203101011200 a
 
 Status must not set a's entry to unset (issue1790):
 
   $ hg status
   $ hg debugstate
-  n 644          2 2021-01-01 12:00:00 a
+  n 644          2 2031-01-01 12:00:00 a
 
 Test modulo storage/comparison of absurd dates: