tests/test-status.t
branchstable
changeset 50440 a20df0150f82
parent 50320 adecb1ab4a0d
child 50460 f57f5ab0e220
equal deleted inserted replaced
50439:f4ff55583dec 50440:a20df0150f82
   998 
   998 
   999   $ hg debugdirstate --all --no-dates | grep '^ '
   999   $ hg debugdirstate --all --no-dates | grep '^ '
  1000       0         -1 set                 subdir
  1000       0         -1 set                 subdir
  1001 
  1001 
  1002 #endif
  1002 #endif
       
  1003 
       
  1004 
       
  1005 Test copy source formatting.
       
  1006   $ cd ..
       
  1007   $ hg init copy-source-repo
       
  1008   $ cd copy-source-repo
       
  1009   $ mkdir -p foo/bar
       
  1010   $ cd foo/bar
       
  1011   $ touch file
       
  1012   $ hg addremove
       
  1013   adding foo/bar/file
       
  1014   $ hg commit -m 'add file'
       
  1015   $ hg mv file copy
       
  1016 
       
  1017 Copy source respects relative path setting.
       
  1018   $ hg st --config ui.statuscopies=true --config commands.status.relative=true
       
  1019   A copy
       
  1020     file
       
  1021   R file
       
  1022 
       
  1023 Copy source is not shown when --no-status is passed.
       
  1024   $ hg st --config ui.statuscopies=true --no-status
       
  1025   foo/bar/copy
       
  1026   foo/bar/file