We will use this logic in two places with in-memory merge.
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG65ae54582713: merge: move some of the logic in batchget() to workingfilectx
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/context.py | ||
---|---|---|
1976–1978 | self.repo.wvfs gets repeated often enough that it's probably worth extracting to a local variable | |
1980–1982 | I'd prefer to see this addition in the patch that needs it. At this point it's not clear what this is for. Also, with this code here, it seems a little unnecessary for the block above to delete parent directories if we're just going to create them again here. Am I reading that right? | |
mercurial/merge.py | ||
1153–1154 | nit: wctx[f] involves enough work that it's probably worth extracting it to a variable? |
mercurial/context.py | ||
---|---|---|
1972–1973 | I'll drop the the parenthesis in flight |
mercurial/context.py | ||
---|---|---|
1972–1973 | Thanks. |
I'll drop the the parenthesis in flight