diff tests/test-uncommit.t @ 2728:3c371aa16cb9

uncommit: add support for --user and --date This is also long overdue
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 11 Jul 2017 11:59:18 +0200
parents f7d44441dfd3
children 69fe16428b0f
line wrap: on
line diff
--- a/tests/test-uncommit.t	Tue Jul 11 11:58:07 2017 +0200
+++ b/tests/test-uncommit.t	Tue Jul 11 11:59:18 2017 +0200
@@ -363,7 +363,7 @@
   b
   b
 
-Test message update
+Test date, message and user update
 
   $ hg log -r .
   changeset:   12:912ed871207c
@@ -374,13 +374,13 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     touncommit
   
-  $ hg uncommit -m 'to-uncommit' d
+  $ hg uncommit -m 'to-uncommit' d --user test2 --date '1337 0'
   $ hg log -r .
-  changeset:   13:dfe358c8c130
+  changeset:   13:f1efd9ec508c
   branch:      bar
   tag:         tip
   parent:      7:4f1c269eab68
-  user:        test
-  date:        Thu Jan 01 00:00:00 1970 +0000
+  user:        test2
+  date:        Thu Jan 01 00:22:17 1970 +0000
   summary:     to-uncommit