changeset 32414:7b7f55d56076

test: remove aliases forcing date, use default-date Now that we have the default-date by default and all code have been updated, remove the old commands alias that forced the date as they are not longer useful. Writing tests now should be easier for everyone now that all dates should be stable.
author Boris Feld <boris.feld@octobus.net>
date Mon, 22 May 2017 19:29:21 +0200
parents d6be5b5cc325
children 9695aca1a3a0
files tests/run-tests.py tests/test-basic.t tests/test-commandserver.t
diffstat 3 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Mon May 22 19:28:47 2017 +0200
+++ b/tests/run-tests.py	Mon May 22 19:29:21 2017 +0200
@@ -950,10 +950,6 @@
         hgrc.write(b'mergemarkers = detailed\n')
         hgrc.write(b'promptecho = True\n')
         hgrc.write(b'[defaults]\n')
-        hgrc.write(b'backout = -d "0 0"\n')
-        hgrc.write(b'commit = -d "0 0"\n')
-        hgrc.write(b'shelve = --date "0 0"\n')
-        hgrc.write(b'tag = -d "0 0"\n')
         hgrc.write(b'[devel]\n')
         hgrc.write(b'all-warnings = true\n')
         hgrc.write(b'default-date = 0 0\n')
--- a/tests/test-basic.t	Mon May 22 19:28:47 2017 +0200
+++ b/tests/test-basic.t	Mon May 22 19:29:21 2017 +0200
@@ -1,10 +1,6 @@
 Create a repository:
 
   $ hg config
-  defaults.backout=-d "0 0"
-  defaults.commit=-d "0 0"
-  defaults.shelve=--date "0 0"
-  defaults.tag=-d "0 0"
   devel.all-warnings=true
   devel.default-date=0 0
   largefiles.usercache=$TESTTMP/.cache/largefiles (glob)
--- a/tests/test-commandserver.t	Mon May 22 19:28:47 2017 +0200
+++ b/tests/test-commandserver.t	Mon May 22 19:29:21 2017 +0200
@@ -187,10 +187,6 @@
   ...     runcommand(server, ['-R', 'foo', 'showconfig', 'ui', 'defaults'])
   *** runcommand showconfig
   bundle.mainreporoot=$TESTTMP/repo
-  defaults.backout=-d "0 0"
-  defaults.commit=-d "0 0"
-  defaults.shelve=--date "0 0"
-  defaults.tag=-d "0 0"
   devel.all-warnings=true
   devel.default-date=0 0
   largefiles.usercache=$TESTTMP/.cache/largefiles
@@ -204,10 +200,6 @@
   web\.ipv6=(?:True|False) (re)
   *** runcommand init foo
   *** runcommand -R foo showconfig ui defaults
-  defaults.backout=-d "0 0"
-  defaults.commit=-d "0 0"
-  defaults.shelve=--date "0 0"
-  defaults.tag=-d "0 0"
   ui.slash=True
   ui.interactive=False
   ui.mergemarkers=detailed