##// END OF EJS Templates
test-status-rev: use one glob for each expected status...
Martin von Zweigbergk -
r23228:5f5876a2 default
parent child Browse files
Show More
@@ -69,44 +69,41 b' Working copy'
69 69
70 70 Status compared to one revision back
71 71
72 $ hg status -A --rev 1 content1_content1_content1-tracked
73 C content1_content1_content1-tracked
74 BROKEN: file appears twice; should be '!'
75 $ hg status -A --rev 1 content1_content1_missing-tracked
76 ! content1_content1_missing-tracked
77 C content1_content1_missing-tracked
78 $ hg status -A --rev 1 content1_content1_content1-untracked
79 R content1_content1_content1-untracked
80 $ hg status -A --rev 1 content1_content1_content3-tracked
72 $ hg status -A --rev 1 'glob:content1_*_content[23]-tracked'
81 73 M content1_content1_content3-tracked
82 $ hg status -A --rev 1 content1_content1_missing-untracked
74 M content1_content2_content2-tracked
75 M content1_content2_content3-tracked
76 M content1_missing_content3-tracked
77 $ hg status -A --rev 1 'glob:content1_*_content1-tracked'
78 C content1_content1_content1-tracked
79 C content1_content2_content1-tracked
80 C content1_missing_content1-tracked
81 $ hg status -A --rev 1 'glob:missing_*_content?-tracked'
82 A missing_content2_content2-tracked
83 A missing_content2_content3-tracked
84 A missing_missing_content3-tracked
85 BROKEN: missing_content2_content[23]-untracked exist, so should be listed
86 $ hg status -A --rev 1 'glob:missing_*_content?-untracked'
87 ? missing_missing_content3-untracked
88 $ hg status -A --rev 1 'glob:content1_*_*-untracked'
89 R content1_content1_content1-untracked
90 R content1_content1_content3-untracked
83 91 R content1_content1_missing-untracked
84 $ hg status -A --rev 1 content1_content2_content2-tracked
85 M content1_content2_content2-tracked
86 BROKEN: file appears twice; should be '!'
87 $ hg status -A --rev 1 content1_content2_missing-tracked
88 ! content1_content2_missing-tracked
89 C content1_content2_missing-tracked
90 $ hg status -A --rev 1 content1_content2_content2-untracked
92 R content1_content2_content1-untracked
91 93 R content1_content2_content2-untracked
92 $ hg status -A --rev 1 content1_content2_content3-tracked
93 M content1_content2_content3-tracked
94 $ hg status -A --rev 1 content1_content2_missing-untracked
94 R content1_content2_content3-untracked
95 95 R content1_content2_missing-untracked
96 $ hg status -A --rev 1 content1_missing_content3-tracked
97 M content1_missing_content3-tracked
98 BROKEN: file appears twice; should be '!'
99 $ hg status -A --rev 1 content1_missing_missing-tracked
96 R content1_missing_content1-untracked
97 R content1_missing_content3-untracked
98 R content1_missing_missing-untracked
99 BROKEN: content1_*_missing-tracked appear twice; should just be '!'
100 $ hg status -A --rev 1 'glob:*_*_missing-tracked'
100 101 R content1_missing_missing-tracked
102 ! content1_content1_missing-tracked
103 ! content1_content2_missing-tracked
101 104 ! content1_missing_missing-tracked
102 $ hg status -A --rev 1 content1_missing_content3-untracked
103 R content1_missing_content3-untracked
104 $ hg status -A --rev 1 missing_content2_missing-tracked
105 105 ! missing_content2_missing-tracked
106 BROKEN: file exists, so should be listed (as '?')
107 $ hg status -A --rev 1 missing_content2_content2-untracked
108 $ hg status -A --rev 1 missing_content2_content3-tracked
109 A missing_content2_content3-tracked
110 $ hg status -A --rev 1 missing_content2_missing-untracked
111 $ hg status -A --rev 1 missing_missing_content3-untracked
112 ? missing_missing_content3-untracked
106 ! missing_missing_missing-tracked
107 C content1_content1_missing-tracked
108 C content1_content2_missing-tracked
109 $ hg status -A --rev 1 'glob:missing_*_missing-untracked'
General Comments 0
You need to be logged in to leave comments. Login now