Show More
@@ -142,8 +142,11 b' def lfdirstatestatus(lfdirstate, repo, r' | |||||
142 | s = lfdirstate.status(match, [], False, False, False) |
|
142 | s = lfdirstate.status(match, [], False, False, False) | |
143 | unsure, modified, added, removed, missing, unknown, ignored, clean = s |
|
143 | unsure, modified, added, removed, missing, unknown, ignored, clean = s | |
144 | for lfile in unsure: |
|
144 | for lfile in unsure: | |
145 | if repo[rev][standin(lfile)].data().strip() != \ |
|
145 | try: | |
146 |
|
|
146 | fctx = repo[rev][standin(lfile)] | |
|
147 | except LookupError: | |||
|
148 | fctx = None | |||
|
149 | if not fctx or fctx.data().strip() != hashfile(repo.wjoin(lfile)): | |||
147 | modified.append(lfile) |
|
150 | modified.append(lfile) | |
148 | else: |
|
151 | else: | |
149 | clean.append(lfile) |
|
152 | clean.append(lfile) |
@@ -1220,6 +1220,10 b' Test status after merging with a branch ' | |||||
1220 | $ hg status |
|
1220 | $ hg status | |
1221 | M large |
|
1221 | M large | |
1222 |
|
1222 | |||
|
1223 | - revert should be able to revert files introduced in a pending merge | |||
|
1224 | $ hg revert --all -r . | |||
|
1225 | removing .hglf/large | |||
|
1226 | ||||
1223 | Test that a normal file and a largefile with the same name and path cannot |
|
1227 | Test that a normal file and a largefile with the same name and path cannot | |
1224 | coexist. |
|
1228 | coexist. | |
1225 |
|
1229 |
General Comments 0
You need to be logged in to leave comments.
Login now