Mercurial > hg-stable
diff tests/test-largefiles-cache.t @ 27942:eb1135d5e688 stable
largefiles: fix an explicit largefile commit after a remove (issue4969)
The change in b68797f244e4 to handle a normal -> largefile switch was too
aggressive in preserving the original matcher names. If a largefile is
explicitly provided by the user, but only the standin exists in dirstate, then
only the standin can be committed.
There's still maybe an issue when the largefile is deleted outside of Mercurial:
$ rm large
$ hg ci -m "oops" large
large: The system cannot find the file specified
nothing changed
[1]
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 23 Jan 2016 20:51:17 -0500 |
parents | af1ae4ee755c |
children | 571ba161f6be |
line wrap: on
line diff
--- a/tests/test-largefiles-cache.t Mon Jan 25 15:48:35 2016 -0800 +++ b/tests/test-largefiles-cache.t Sat Jan 23 20:51:17 2016 -0500 @@ -17,7 +17,7 @@ $ hg add --large large $ hg commit -m 'add largefile' $ hg rm large - $ hg commit -m 'branchhead without largefile' + $ hg commit -m 'branchhead without largefile' large $ hg up -qr 0 $ cd ..