tests/test-evolve.t
changeset 937 43cceb37324c
parent 919 ffce88754767
parent 933 e5baeb8fefec
child 950 cf4dcf49d998
equal deleted inserted replaced
932:bcd0c12070b2 937:43cceb37324c
   707   atop:[13] a
   707   atop:[13] a
   708   $ hg st -C --change=tip
   708   $ hg st -C --change=tip
   709   A c
   709   A c
   710     a
   710     a
   711   R a
   711   R a
       
   712 
       
   713 Test fold with commit messages
       
   714 
       
   715   $ cd ../work
       
   716   $ hg fold .^ --message "Folding with custom commit message"
       
   717   2 changesets folded
       
   718   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   719   $ glog
       
   720   @  16:e6d8dace77a1@default(draft) Folding with custom commit message
       
   721   |
       
   722   o  13:e9c952d5bc4b@default(draft) dansk!
       
   723   |
       
   724   o  7:abe98aeaaa35@default(public) another feature
       
   725   |
       
   726   o  6:ba0ec09b1bab@default(public) a nifty feature
       
   727   |
       
   728   o  0:e55e0562ee93@default(public) base
       
   729   
       
   730   $ cat > commit-message <<EOF
       
   731   > A longer
       
   732   >                   commit message
       
   733   > EOF
       
   734 
       
   735   $ hg fold .^ --logfile commit-message
       
   736   2 changesets folded
       
   737   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   738   $ hg qlog
       
   739   17 - 2451d817c756 A longer
       
   740                     commit message (draft)
       
   741   7 - abe98aeaaa35 another feature (public)
       
   742   6 - ba0ec09b1bab a nifty feature (public)
       
   743   0 - e55e0562ee93 base (public)