Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG02c47b74366c: git: key off `git` in .hg/requires rather than separate file
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
hgext/git/__init__.py | ||
---|---|---|
111 | Shouldn't it be an error if git is in requirements, but .git doesn't exist? Or is there something in the original function that will raise an error in this case? |
hgext/git/__init__.py | ||
---|---|---|
111 | Good catch! Yes, that makes sense. |
hgext/git/__init__.py | ||
---|---|---|
89–95 | Why not use .hg/requires? |
hgext/git/dirstate.py | ||
---|---|---|
79 ↗ | (On Diff #20667) | looks like unrelated change which should be in separate patch? |
tests/test-git-interop.t | ||
---|---|---|
5–11 | My understanding is that the > will cause the lines to all happen in the same shell invocation, whereas $ will do separate evaluations of each line, so it's (more or less) intentional. I believe it was a bug that the first line had a > instead of a $ (and since I was rearranging the intro stanza I fixed it up). I can revert that top byte change if you'd prefer. |
tests/test-git-interop.t | ||
---|---|---|
5–11 | I'm fine with leaving it as it is. |
Why not use .hg/requires?