Mercurial > evolve
comparison docs/tutorials/tutorial.t @ 365:9f6a77ec66cb stable
evolve: switch the official name for "kill" to prune
doc have been updated too
author | Pierre-Yves.David@ens-lyon.org |
---|---|
date | Sun, 15 Jul 2012 13:07:54 +0200 |
parents | fb83210bce32 |
children | 5bc3e5dc2637 2c969d1b18e0 |
comparison
equal
deleted
inserted
replaced
364:616305c63510 | 365:9f6a77ec66cb |
---|---|
282 | 282 |
283 | 283 |
284 I have a new commit but I realize that don't want it. (transport shop list does | 284 I have a new commit but I realize that don't want it. (transport shop list does |
285 not fit well in my standard shopping list) | 285 not fit well in my standard shopping list) |
286 | 286 |
287 $ hg kill . # . is for working directory parent | 287 $ hg prune . # . is for working directory parent |
288 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 288 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
289 working directory now at 387187ad9bd9 | 289 working directory now at 387187ad9bd9 |
290 | 290 |
291 The silly changeset is gone. | 291 The silly changeset is gone. |
292 | 292 |
670 Working directory parent is obsolete | 670 Working directory parent is obsolete |
671 | 671 |
672 $ hg up 437efbcaf700 | 672 $ hg up 437efbcaf700 |
673 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 673 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
674 | 674 |
675 Relocating unstable change after kill | 675 Relocating unstable change after prune |
676 ---------------------------------------------- | 676 ---------------------------------------------- |
677 | 677 |
678 The remote guy keep working | 678 The remote guy keep working |
679 | 679 |
680 $ sed -i'' -e 's/Spam/Spam Spam Spam Spam/g' shopping | 680 $ sed -i'' -e 's/Spam/Spam Spam Spam Spam/g' shopping |
707 o 9ca060c80d74 (public): SPAM | 707 o 9ca060c80d74 (public): SPAM |
708 | | 708 | |
709 o 7e82d3f3c2cb (public): Monthy Python Shopping list | 709 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
710 | 710 |
711 | 711 |
712 In the mean time I noticed you can't buy animals in a super market and I kill the animal changeset: | 712 In the mean time I noticed you can't buy animals in a super market and I prune the animal changeset: |
713 | 713 |
714 $ hg kill 437efbcaf700 | 714 $ hg prune 437efbcaf700 |
715 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 715 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
716 working directory now at ffa278c50818 | 716 working directory now at ffa278c50818 |
717 1 new unstables changesets | 717 1 new unstables changesets |
718 | 718 |
719 | 719 |
739 | 739 |
740 | 740 |
741 $ hg log -r 'unstable()' | 741 $ hg log -r 'unstable()' |
742 ae45c0c3092a (draft): SPAM SPAM SPAM | 742 ae45c0c3092a (draft): SPAM SPAM SPAM |
743 | 743 |
744 # XXX make kill stabilization works | 744 # XXX make prune stabilization works |
745 # $ hg stabilize --any | 745 # $ hg stabilize --any |
746 # merging shopping | 746 # merging shopping |
747 | 747 |
748 $ hg graft -O ae45c0c3092a | 748 $ hg graft -O ae45c0c3092a |
749 grafting revision 17 | 749 grafting revision 17 |