Show More
@@ -575,11 +575,15 b' def updatestandinsbymatch(repo, match):' | |||||
575 | fstandin = standin(f) |
|
575 | fstandin = standin(f) | |
576 |
|
576 | |||
577 | # For largefiles, only one of the normal and standin should be |
|
577 | # For largefiles, only one of the normal and standin should be | |
578 | # committed (except if one of them is a remove). |
|
578 | # committed (except if one of them is a remove). In the case of a | |
|
579 | # standin removal, drop the normal file if it is unknown to dirstate. | |||
579 | # Thus, skip plain largefile names but keep the standin. |
|
580 | # Thus, skip plain largefile names but keep the standin. | |
580 |
if |
|
581 | if f in lfiles or fstandin in standins: | |
581 |
|
|
582 | if repo.dirstate[fstandin] != 'r': | |
582 | continue |
|
583 | if repo.dirstate[f] != 'r': | |
|
584 | continue | |||
|
585 | elif repo.dirstate[f] == '?': | |||
|
586 | continue | |||
583 |
|
587 | |||
584 | actualfiles.append(f) |
|
588 | actualfiles.append(f) | |
585 | match._files = actualfiles |
|
589 | match._files = actualfiles |
@@ -17,7 +17,7 b' Create source repo, and commit adding la' | |||||
17 | $ hg add --large large |
|
17 | $ hg add --large large | |
18 | $ hg commit -m 'add largefile' |
|
18 | $ hg commit -m 'add largefile' | |
19 | $ hg rm large |
|
19 | $ hg rm large | |
20 | $ hg commit -m 'branchhead without largefile' |
|
20 | $ hg commit -m 'branchhead without largefile' large | |
21 |
$ |
|
21 | $ hg up -qr 0 | |
22 | $ cd .. |
|
22 | $ cd .. | |
23 |
|
23 |
General Comments 0
You need to be logged in to leave comments.
Login now