diff tests/test-tutorial.t @ 1058:00bc31523074

uncommit: add a --rev argument The uncommit command now taks a --rev argument. This lets restore the file content in the current commit to another revision (instead of just is parent content). This still does not touch the working directory content.\ This allow the longly awaited: hg uncommit --hidden --rev 'precursors(.)'
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 15 Aug 2014 00:46:23 -0700
parents 640f3280559e
children 95d84c8b4bcc
line wrap: on
line diff
--- a/tests/test-tutorial.t	Thu Aug 14 15:26:55 2014 -0700
+++ b/tests/test-tutorial.t	Fri Aug 15 00:46:23 2014 -0700
@@ -446,11 +446,16 @@
       The --include option specifies patterns to uncommit. The --exclude option
       specifies patterns to keep in the commit.
   
+      The --rev argument let you change the commit file to a content of another
+      revision. It still does not change the content of your file in the working
+      directory.
+  
       Return 0 if changed files are uncommitted.
   
   options:
   
    -a --all                 uncommit all changes when no arguments given
+   -r --rev VALUE           revert commit content to REV instead
    -I --include PATTERN [+] include names matching the given patterns
    -X --exclude PATTERN [+] exclude names matching the given patterns