Show More
@@ -67,4 +67,59 b' status' | |||||
67 | ? baz |
|
67 | ? baz | |
68 | C foo |
|
68 | C foo | |
69 |
|
69 | |||
70 | $ cd .. |
|
70 | Test debugdirstate --minimal where a file is not in parent manifest | |
|
71 | but in the dirstate | |||
|
72 | $ touch foo bar qux | |||
|
73 | $ hg add qux | |||
|
74 | $ hg remove bar | |||
|
75 | $ hg status -A | |||
|
76 | A qux | |||
|
77 | R bar | |||
|
78 | ? baz | |||
|
79 | C foo | |||
|
80 | $ hg debugadddrop --normal-lookup baz | |||
|
81 | $ hg debugdirstate --nodates | |||
|
82 | r 0 0 * bar (glob) | |||
|
83 | n 0 -1 * baz (glob) | |||
|
84 | n 644 0 * foo (glob) | |||
|
85 | a 0 -1 * qux (glob) | |||
|
86 | $ hg debugrebuilddirstate --minimal | |||
|
87 | $ hg debugdirstate --nodates | |||
|
88 | r 0 0 * bar (glob) | |||
|
89 | n 644 0 * foo (glob) | |||
|
90 | a 0 -1 * qux (glob) | |||
|
91 | $ hg status -A | |||
|
92 | A qux | |||
|
93 | R bar | |||
|
94 | ? baz | |||
|
95 | C foo | |||
|
96 | ||||
|
97 | Test debugdirstate --minimal where file is in the parent manifest but not the | |||
|
98 | dirstate | |||
|
99 | $ hg manifest | |||
|
100 | bar | |||
|
101 | foo | |||
|
102 | $ hg status -A | |||
|
103 | A qux | |||
|
104 | R bar | |||
|
105 | ? baz | |||
|
106 | C foo | |||
|
107 | $ hg debugdirstate --nodates | |||
|
108 | r 0 0 * bar (glob) | |||
|
109 | n 644 0 * foo (glob) | |||
|
110 | a 0 -1 * qux (glob) | |||
|
111 | $ hg debugadddrop --drop foo | |||
|
112 | $ hg debugdirstate --nodates | |||
|
113 | r 0 0 * bar (glob) | |||
|
114 | a 0 -1 * qux (glob) | |||
|
115 | $ hg debugrebuilddirstate --minimal | |||
|
116 | $ hg debugdirstate --nodates | |||
|
117 | r 0 0 * bar (glob) | |||
|
118 | n 0 -1 * foo (glob) | |||
|
119 | a 0 -1 * qux (glob) | |||
|
120 | $ hg status -A | |||
|
121 | A qux | |||
|
122 | R bar | |||
|
123 | ? baz | |||
|
124 | C foo | |||
|
125 |
General Comments 0
You need to be logged in to leave comments.
Login now