tests/test-split.t
changeset 41890 7da6307cc07a
parent 41560 66399f2e92aa
child 41892 0cbcb3e13fcf
equal deleted inserted replaced
41889:3ba9ca537f57 41890:7da6307cc07a
   707   EDITOR: HG: --
   707   EDITOR: HG: --
   708   EDITOR: HG: user: test
   708   EDITOR: HG: user: test
   709   EDITOR: HG: branch 'default'
   709   EDITOR: HG: branch 'default'
   710   EDITOR: HG: changed foo
   710   EDITOR: HG: changed foo
   711   saved backup bundle to $TESTTMP/f/b/.hg/strip-backup/904c80b40a4a-47fb907f-split.hg (obsstore-off !)
   711   saved backup bundle to $TESTTMP/f/b/.hg/strip-backup/904c80b40a4a-47fb907f-split.hg (obsstore-off !)
       
   712 
       
   713 
       
   714 Testing the case in split when commiting flag-only file changes (issue5864)
       
   715 ---------------------------------------------------------------------------
       
   716   $ hg init $TESTTMP/issue5864
       
   717   $ cd $TESTTMP/issue5864
       
   718   $ echo foo > foo
       
   719   $ hg add foo
       
   720   $ hg ci -m "initial"
       
   721   $ chmod +x foo
       
   722   $ hg ci -m "make executable"
       
   723 
       
   724   $ hg glog
       
   725   @  1:3a2125f0f4cb make executable
       
   726   |
       
   727   o  0:51f273a58d82 initial
       
   728   
       
   729 
       
   730   $ printf 'y\ny\ny\n' | hg split
       
   731   diff --git a/foo b/foo
       
   732   old mode 100644
       
   733   new mode 100755
       
   734   examine changes to 'foo'? [Ynesfdaq?] y
       
   735   
       
   736   no changes to record
       
   737   diff --git a/foo b/foo
       
   738   old mode 100644
       
   739   new mode 100755
       
   740   examine changes to 'foo'? [Ynesfdaq?] y
       
   741   
       
   742   no changes to record
       
   743   diff --git a/foo b/foo
       
   744   old mode 100644
       
   745   new mode 100755
       
   746   examine changes to 'foo'? [Ynesfdaq?] y
       
   747   
       
   748   no changes to record
       
   749   diff --git a/foo b/foo
       
   750   old mode 100644
       
   751   new mode 100755
       
   752   examine changes to 'foo'? [Ynesfdaq?] abort: response expected
       
   753   [255]