changeset 23229:2a462c0792fe

test-status-rev: remove unnecessary initial commit The initial commit was there when we had a group of tests that compared against an empty base, but since those tests no longer exist, we can drop the empty commit.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 04 Nov 2014 21:22:46 -0800
parents 5f5876a2d2b2
children 7f4f4217c924
files tests/test-status-rev.t
diffstat 1 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-status-rev.t	Tue Nov 04 16:10:20 2014 -0800
+++ b/tests/test-status-rev.t	Tue Nov 04 21:22:46 2014 -0800
@@ -2,9 +2,6 @@
 combined correctly with the dirstate status.
 
   $ hg init
-  $ touch .hgignore
-  $ hg add .hgignore
-  $ hg commit -m initial
 
 First commit
 
@@ -69,23 +66,23 @@
 
 Status compared to one revision back
 
-  $ hg status -A --rev 1 'glob:content1_*_content[23]-tracked'
+  $ hg status -A --rev 0 'glob:content1_*_content[23]-tracked'
   M content1_content1_content3-tracked
   M content1_content2_content2-tracked
   M content1_content2_content3-tracked
   M content1_missing_content3-tracked
-  $ hg status -A --rev 1 'glob:content1_*_content1-tracked'
+  $ hg status -A --rev 0 'glob:content1_*_content1-tracked'
   C content1_content1_content1-tracked
   C content1_content2_content1-tracked
   C content1_missing_content1-tracked
-  $ hg status -A --rev 1 'glob:missing_*_content?-tracked'
+  $ hg status -A --rev 0 'glob:missing_*_content?-tracked'
   A missing_content2_content2-tracked
   A missing_content2_content3-tracked
   A missing_missing_content3-tracked
 BROKEN: missing_content2_content[23]-untracked exist, so should be listed
-  $ hg status -A --rev 1 'glob:missing_*_content?-untracked'
+  $ hg status -A --rev 0 'glob:missing_*_content?-untracked'
   ? missing_missing_content3-untracked
-  $ hg status -A --rev 1 'glob:content1_*_*-untracked'
+  $ hg status -A --rev 0 'glob:content1_*_*-untracked'
   R content1_content1_content1-untracked
   R content1_content1_content3-untracked
   R content1_content1_missing-untracked
@@ -97,7 +94,7 @@
   R content1_missing_content3-untracked
   R content1_missing_missing-untracked
 BROKEN: content1_*_missing-tracked appear twice; should just be '!'
-  $ hg status -A --rev 1 'glob:*_*_missing-tracked'
+  $ hg status -A --rev 0 'glob:*_*_missing-tracked'
   R content1_missing_missing-tracked
   ! content1_content1_missing-tracked
   ! content1_content2_missing-tracked
@@ -106,4 +103,4 @@
   ! missing_missing_missing-tracked
   C content1_content1_missing-tracked
   C content1_content2_missing-tracked
-  $ hg status -A --rev 1 'glob:missing_*_missing-untracked'
+  $ hg status -A --rev 0 'glob:missing_*_missing-untracked'