Show More
@@ -2,9 +2,6 b" Tests of 'hg status --rev <rev>' to make" | |||||
2 | combined correctly with the dirstate status. |
|
2 | combined correctly with the dirstate status. | |
3 |
|
3 | |||
4 | $ hg init |
|
4 | $ hg init | |
5 | $ touch .hgignore |
|
|||
6 | $ hg add .hgignore |
|
|||
7 | $ hg commit -m initial |
|
|||
8 |
|
5 | |||
9 | First commit |
|
6 | First commit | |
10 |
|
7 | |||
@@ -69,23 +66,23 b' Working copy' | |||||
69 |
|
66 | |||
70 | Status compared to one revision back |
|
67 | Status compared to one revision back | |
71 |
|
68 | |||
72 |
$ hg status -A --rev |
|
69 | $ hg status -A --rev 0 'glob:content1_*_content[23]-tracked' | |
73 | M content1_content1_content3-tracked |
|
70 | M content1_content1_content3-tracked | |
74 | M content1_content2_content2-tracked |
|
71 | M content1_content2_content2-tracked | |
75 | M content1_content2_content3-tracked |
|
72 | M content1_content2_content3-tracked | |
76 | M content1_missing_content3-tracked |
|
73 | M content1_missing_content3-tracked | |
77 |
$ hg status -A --rev |
|
74 | $ hg status -A --rev 0 'glob:content1_*_content1-tracked' | |
78 | C content1_content1_content1-tracked |
|
75 | C content1_content1_content1-tracked | |
79 | C content1_content2_content1-tracked |
|
76 | C content1_content2_content1-tracked | |
80 | C content1_missing_content1-tracked |
|
77 | C content1_missing_content1-tracked | |
81 |
$ hg status -A --rev |
|
78 | $ hg status -A --rev 0 'glob:missing_*_content?-tracked' | |
82 | A missing_content2_content2-tracked |
|
79 | A missing_content2_content2-tracked | |
83 | A missing_content2_content3-tracked |
|
80 | A missing_content2_content3-tracked | |
84 | A missing_missing_content3-tracked |
|
81 | A missing_missing_content3-tracked | |
85 | BROKEN: missing_content2_content[23]-untracked exist, so should be listed |
|
82 | BROKEN: missing_content2_content[23]-untracked exist, so should be listed | |
86 |
$ hg status -A --rev |
|
83 | $ hg status -A --rev 0 'glob:missing_*_content?-untracked' | |
87 | ? missing_missing_content3-untracked |
|
84 | ? missing_missing_content3-untracked | |
88 |
$ hg status -A --rev |
|
85 | $ hg status -A --rev 0 'glob:content1_*_*-untracked' | |
89 | R content1_content1_content1-untracked |
|
86 | R content1_content1_content1-untracked | |
90 | R content1_content1_content3-untracked |
|
87 | R content1_content1_content3-untracked | |
91 | R content1_content1_missing-untracked |
|
88 | R content1_content1_missing-untracked | |
@@ -97,7 +94,7 b' BROKEN: missing_content2_content[23]-unt' | |||||
97 | R content1_missing_content3-untracked |
|
94 | R content1_missing_content3-untracked | |
98 | R content1_missing_missing-untracked |
|
95 | R content1_missing_missing-untracked | |
99 | BROKEN: content1_*_missing-tracked appear twice; should just be '!' |
|
96 | BROKEN: content1_*_missing-tracked appear twice; should just be '!' | |
100 |
$ hg status -A --rev |
|
97 | $ hg status -A --rev 0 'glob:*_*_missing-tracked' | |
101 | R content1_missing_missing-tracked |
|
98 | R content1_missing_missing-tracked | |
102 | ! content1_content1_missing-tracked |
|
99 | ! content1_content1_missing-tracked | |
103 | ! content1_content2_missing-tracked |
|
100 | ! content1_content2_missing-tracked | |
@@ -106,4 +103,4 b' BROKEN: content1_*_missing-tracked appea' | |||||
106 | ! missing_missing_missing-tracked |
|
103 | ! missing_missing_missing-tracked | |
107 | C content1_content1_missing-tracked |
|
104 | C content1_content1_missing-tracked | |
108 | C content1_content2_missing-tracked |
|
105 | C content1_content2_missing-tracked | |
109 |
$ hg status -A --rev |
|
106 | $ hg status -A --rev 0 'glob:missing_*_missing-untracked' |
General Comments 0
You need to be logged in to leave comments.
Login now