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