Show More
@@ -188,6 +188,30 b' Cleanup and final commit:' | |||
|
188 | 188 | committing subrepository foo |
|
189 | 189 | committing subrepository foo/bar (glob) |
|
190 | 190 | |
|
191 | Test explicit path commands within subrepos: add/forget | |
|
192 | $ echo z1 > foo/bar/z2.txt | |
|
193 | $ hg status -S | |
|
194 | ? foo/bar/z2.txt | |
|
195 | $ hg add foo/bar/z2.txt | |
|
196 | This is expected to add the file, but is currently broken | |
|
197 | $ hg status -S | |
|
198 | ? foo/bar/z2.txt | |
|
199 | When fixed, remove the next two commands | |
|
200 | $ hg add -R foo/bar foo/bar/z2.txt | |
|
201 | $ hg status -S | |
|
202 | A foo/bar/z2.txt | |
|
203 | This is expected to forget the file, but is currently broken | |
|
204 | $ hg forget foo/bar/z2.txt | |
|
205 | not removing foo/bar/z2.txt: file is already untracked | |
|
206 | [1] | |
|
207 | $ hg status -S | |
|
208 | A foo/bar/z2.txt | |
|
209 | When fixed, remove the next two commands | |
|
210 | $ hg forget -R foo/bar foo/bar/z2.txt | |
|
211 | $ hg status -S | |
|
212 | ? foo/bar/z2.txt | |
|
213 | $ rm foo/bar/z2.txt | |
|
214 | ||
|
191 | 215 | Log with the relationships between repo and its subrepo: |
|
192 | 216 | |
|
193 | 217 | $ hg log --template '{rev}:{node|short} {desc}\n' |
General Comments 0
You need to be logged in to leave comments.
Login now