comparison 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
comparison
equal deleted inserted replaced
1056:edfb9a0ad085 1058:00bc31523074
444 obsoletes the previous one. 444 obsoletes the previous one.
445 445
446 The --include option specifies patterns to uncommit. The --exclude option 446 The --include option specifies patterns to uncommit. The --exclude option
447 specifies patterns to keep in the commit. 447 specifies patterns to keep in the commit.
448 448
449 The --rev argument let you change the commit file to a content of another
450 revision. It still does not change the content of your file in the working
451 directory.
452
449 Return 0 if changed files are uncommitted. 453 Return 0 if changed files are uncommitted.
450 454
451 options: 455 options:
452 456
453 -a --all uncommit all changes when no arguments given 457 -a --all uncommit all changes when no arguments given
458 -r --rev VALUE revert commit content to REV instead
454 -I --include PATTERN [+] include names matching the given patterns 459 -I --include PATTERN [+] include names matching the given patterns
455 -X --exclude PATTERN [+] exclude names matching the given patterns 460 -X --exclude PATTERN [+] exclude names matching the given patterns
456 461
457 [+] marked option can be specified multiple times 462 [+] marked option can be specified multiple times
458 463