Mercurial > evolve
comparison tests/test-tutorial.t @ 767:01a270481a61 stable
tutorial Display the help of appropriate command in section that need writting
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 09 Jan 2014 21:38:28 -0800 |
parents | 32936a9f4389 |
children | b116de5dc70d |
comparison
equal
deleted
inserted
replaced
766:32936a9f4389 | 767:01a270481a61 |
---|---|
426 | 426 |
427 | 427 |
428 Splitting change | 428 Splitting change |
429 ------------------ | 429 ------------------ |
430 | 430 |
431 histedit or uncommit | 431 This part is not written yet, but you can use either the `histedit` extension |
432 of the `uncommit` command to splitting a change. | |
433 | |
434 $ hg help uncommit | |
435 hg uncommit [OPTION]... [NAME] | |
436 | |
437 move changes from parent revision to working directory | |
438 | |
439 Changes to selected files in parent revision appear again as uncommitted | |
440 changed in the working directory. A new revision without selected changes | |
441 is created, becomes the new parent and obsoletes the previous one. | |
442 | |
443 The --include option specify pattern to uncommit The --exclude option | |
444 specify pattern to keep in the commit | |
445 | |
446 Return 0 if changed files are uncommitted. | |
447 | |
448 options: | |
449 | |
450 -a --all uncommit all changes when no arguments given | |
451 -I --include PATTERN [+] include names matching the given patterns | |
452 -X --exclude PATTERN [+] exclude names matching the given patterns | |
453 | |
454 [+] marked option can be specified multiple times | |
455 | |
456 use "hg -v help uncommit" to show the global options | |
457 | |
458 | |
459 The edit command of histedit can be used to split changeset: | |
460 | |
432 | 461 |
433 Collapsing change | 462 Collapsing change |
434 ------------------ | 463 ------------------ |
435 | 464 |
436 This can be done with hg fold but the tutorial part is not written yet. | 465 The tutorial part is not written yet but can use `hg fold`: |
437 | 466 |
438 | 467 $ hg help fold |
439 | 468 hg fold rev |
469 | |
470 Fold multiple revisions into a single one | |
471 | |
472 Revision from your current working directory to the specified one are fold | |
473 as a new one replacing the other | |
474 | |
475 you can alternatively use --rev to explicitly specify revision to be fold | |
476 ignoring the current working directory parent. | |
477 | |
478 options: | |
479 | |
480 -r --rev VALUE [+] explicitly specify the full set of revision to fold | |
481 | |
482 [+] marked option can be specified multiple times | |
483 | |
484 use "hg -v help fold" to show the global options | |
440 | 485 |
441 | 486 |
442 ----------------------- | 487 ----------------------- |
443 Collaboration | 488 Collaboration |
444 ----------------------- | 489 ----------------------- |