Show More
@@ -282,6 +282,8 b' def overridelog(orig, ui, repo, *pats, *' | |||||
282 | standin = lfutil.standin(m._files[i]) |
|
282 | standin = lfutil.standin(m._files[i]) | |
283 | if standin in repo[ctx.node()]: |
|
283 | if standin in repo[ctx.node()]: | |
284 | m._files[i] = standin |
|
284 | m._files[i] = standin | |
|
285 | elif m._files[i] not in repo[ctx.node()]: | |||
|
286 | m._files.append(standin) | |||
285 | pats.add(standin) |
|
287 | pats.add(standin) | |
286 |
|
288 | |||
287 | m._fmap = set(m._files) |
|
289 | m._fmap = set(m._files) |
@@ -390,6 +390,14 b' Committing directories containing only l' | |||||
390 | A sub2/large7 |
|
390 | A sub2/large7 | |
391 | A z/y/x/large2 |
|
391 | A z/y/x/large2 | |
392 | A z/y/x/m/large1 |
|
392 | A z/y/x/m/large1 | |
|
393 | ||||
|
394 | (and a bit of log testing) | |||
|
395 | ||||
|
396 | $ hg log -T '{rev}\n' z/y/x/m/large1 | |||
|
397 | 7 | |||
|
398 | $ hg log -T '{rev}\n' z/y/x/m # with only a largefile | |||
|
399 | 7 | |||
|
400 | ||||
393 | $ hg rollback --quiet |
|
401 | $ hg rollback --quiet | |
394 | $ touch z/y/x/m/normal |
|
402 | $ touch z/y/x/m/normal | |
395 | $ hg add z/y/x/m/normal |
|
403 | $ hg add z/y/x/m/normal |
General Comments 0
You need to be logged in to leave comments.
Login now