Mercurial > hg
comparison tests/test-status.t @ 50463:f57f5ab0e220
branching: merge stable into default
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 09 May 2023 11:35:50 +0200 |
parents | 98fc949bec14 a20df0150f82 |
children | b861d913e7ec |
comparison
equal
deleted
inserted
replaced
50462:e06331275a53 | 50463: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 |