Show More
@@ -64,7 +64,62 b' Working copy' | |||||
64 | $ hg forget *_*_*-untracked |
|
64 | $ hg forget *_*_*-untracked | |
65 | $ rm *_*_missing-* |
|
65 | $ rm *_*_missing-* | |
66 |
|
66 | |||
67 | Status compared to one revision back |
|
67 | Status compared to parent of the working copy, i.e. the dirstate status | |
|
68 | ||||
|
69 | $ hg status -A --rev 1 'glob:missing_content2_content3-tracked' | |||
|
70 | M missing_content2_content3-tracked | |||
|
71 | $ hg status -A --rev 1 'glob:missing_content2_content2-tracked' | |||
|
72 | C missing_content2_content2-tracked | |||
|
73 | $ hg status -A --rev 1 'glob:missing_missing_content3-tracked' | |||
|
74 | A missing_missing_content3-tracked | |||
|
75 | $ hg status -A --rev 1 'glob:missing_missing_content3-untracked' | |||
|
76 | ? missing_missing_content3-untracked | |||
|
77 | $ hg status -A --rev 1 'glob:missing_content2_*-untracked' | |||
|
78 | R missing_content2_content2-untracked | |||
|
79 | R missing_content2_content3-untracked | |||
|
80 | R missing_content2_missing-untracked | |||
|
81 | $ hg status -A --rev 1 'glob:missing_*_missing-tracked' | |||
|
82 | ! missing_content2_missing-tracked | |||
|
83 | ! missing_missing_missing-tracked | |||
|
84 | $ hg status -A --rev 1 'glob:missing_missing_missing-untracked' | |||
|
85 | missing_missing_missing-untracked: No such file or directory | |||
|
86 | ||||
|
87 | Status between first and second commit. Should ignore dirstate status. | |||
|
88 | ||||
|
89 | $ hg status -A --rev 0:1 'glob:content1_content2_*' | |||
|
90 | M content1_content2_content1-tracked | |||
|
91 | M content1_content2_content1-untracked | |||
|
92 | M content1_content2_content2-tracked | |||
|
93 | M content1_content2_content2-untracked | |||
|
94 | M content1_content2_content3-tracked | |||
|
95 | M content1_content2_content3-untracked | |||
|
96 | M content1_content2_missing-tracked | |||
|
97 | M content1_content2_missing-untracked | |||
|
98 | $ hg status -A --rev 0:1 'glob:content1_content1_*' | |||
|
99 | C content1_content1_content1-tracked | |||
|
100 | C content1_content1_content1-untracked | |||
|
101 | C content1_content1_content3-tracked | |||
|
102 | C content1_content1_content3-untracked | |||
|
103 | C content1_content1_missing-tracked | |||
|
104 | C content1_content1_missing-untracked | |||
|
105 | $ hg status -A --rev 0:1 'glob:missing_content2_*' | |||
|
106 | A missing_content2_content2-tracked | |||
|
107 | A missing_content2_content2-untracked | |||
|
108 | A missing_content2_content3-tracked | |||
|
109 | A missing_content2_content3-untracked | |||
|
110 | A missing_content2_missing-tracked | |||
|
111 | A missing_content2_missing-untracked | |||
|
112 | $ hg status -A --rev 0:1 'glob:content1_missing_*' | |||
|
113 | R content1_missing_content1-tracked | |||
|
114 | R content1_missing_content1-untracked | |||
|
115 | R content1_missing_content3-tracked | |||
|
116 | R content1_missing_content3-untracked | |||
|
117 | R content1_missing_missing-tracked | |||
|
118 | R content1_missing_missing-untracked | |||
|
119 | $ hg status -A --rev 0:1 'glob:missing_missing_*' | |||
|
120 | ||||
|
121 | Status compared to one revision back, checking that the dirstate status | |||
|
122 | is correctly combined with the inter-revision status | |||
68 |
|
123 | |||
69 | $ hg status -A --rev 0 'glob:content1_*_content[23]-tracked' |
|
124 | $ hg status -A --rev 0 'glob:content1_*_content[23]-tracked' | |
70 | M content1_content1_content3-tracked |
|
125 | M content1_content1_content3-tracked |
General Comments 0
You need to be logged in to leave comments.
Login now