diff tests/test-uncommit.t @ 2729:69fe16428b0f

uncommit: add support for -U and -D
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 11 Jul 2017 12:00:45 +0200
parents 3c371aa16cb9
children 7fbb7a5d359f
line wrap: on
line diff
--- a/tests/test-uncommit.t	Tue Jul 11 11:59:18 2017 +0200
+++ b/tests/test-uncommit.t	Tue Jul 11 12:00:45 2017 +0200
@@ -384,3 +384,16 @@
   date:        Thu Jan 01 00:22:17 1970 +0000
   summary:     to-uncommit
   
+
+test -U option
+
+  $ hg uncommit -U b
+  $ hg log -r .
+  changeset:   14:288da4a95941
+  branch:      bar
+  tag:         tip
+  parent:      7:4f1c269eab68
+  user:        test
+  date:        Thu Jan 01 00:22:17 1970 +0000
+  summary:     to-uncommit
+