equal
deleted
inserted
replaced
321 |
321 |
322 Find an exact match to a standin (should archive nothing) |
322 Find an exact match to a standin (should archive nothing) |
323 $ hg --config extensions.largefiles= archive -S -I 'sub/sub2/.hglf/large.bin' ../archive_lf |
323 $ hg --config extensions.largefiles= archive -S -I 'sub/sub2/.hglf/large.bin' ../archive_lf |
324 $ find ../archive_lf 2> /dev/null | sort |
324 $ find ../archive_lf 2> /dev/null | sort |
325 |
325 |
|
326 $ cat >> $HGRCPATH <<EOF |
|
327 > [extensions] |
|
328 > largefiles= |
|
329 > EOF |
|
330 |
|
331 Test forget through a deep subrepo with the largefiles extension, both a |
|
332 largefile and a normal file. Then a largefile that hasn't been committed yet. |
|
333 $ touch sub1/sub2/untracked.txt |
|
334 $ hg forget sub1/sub2/large.bin sub1/sub2/test.txt sub1/sub2/untracked.txt |
|
335 not removing sub1/sub2/untracked.txt: file is already untracked (glob) |
|
336 [1] |
|
337 $ hg add -v --large -R sub1/sub2 sub1/sub2/untracked.txt |
|
338 adding sub1/sub2/untracked.txt as a largefile (glob) |
|
339 $ hg forget -v sub1/sub2/untracked.txt |
|
340 removing sub1/sub2/untracked.txt (glob) |
|
341 $ hg status -S |
|
342 R sub1/sub2/large.bin |
|
343 R sub1/sub2/test.txt |
|
344 ? foo/bar/abc |
|
345 ? sub1/sub2/untracked.txt |
|
346 |
326 $ cd .. |
347 $ cd .. |