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
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
mercurial/context.py | ||
---|---|---|
1971–1973 | self.repo.wvfs gets repeated often enough that it's probably worth extracting to a local variable | |
1975–1977 | 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 | ||
---|---|---|
1967–1968 | I'll drop the the parenthesis in flight |
mercurial/context.py | ||
---|---|---|
1967–1968 | Thanks. |
I'll drop the the parenthesis in flight