Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-27593: Get SCM build info from git instead of hg. #446

Merged
merged 1 commit into from
Mar 4, 2017

Conversation

ned-deily
Copy link
Member

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
@AraHaan
Copy link
Contributor

AraHaan commented Mar 4, 2017

tbh it should be fore both in case someone clones it in hg, or in case they clone it in git. But overall I have no reason to disagree at all with this.

Also instead of changing hg on here to git why not just have both on the project files and the build script and such so that way they do not both have to be edited every time a file is added to the projects or whatever.

@ned-deily ned-deily merged commit 5c4b0d0 into python:master Mar 4, 2017
@ned-deily ned-deily deleted the bpo-27593 branch March 4, 2017 05:20
ned-deily added a commit to ned-deily/cpython that referenced this pull request Mar 4, 2017
sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d0)
ned-deily added a commit that referenced this pull request Mar 4, 2017
)

* bpo-27593: Get SCM build info from git instead of hg. (#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d0)
ned-deily added a commit to ned-deily/cpython that referenced this pull request Mar 4, 2017
…) (python#454)

* bpo-27593: Get SCM build info from git instead of hg. (python#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d0)

(cherry picked from commit 95c50e5)
ned-deily added a commit that referenced this pull request Mar 4, 2017
) (#455)

* bpo-27593: Get SCM build info from git instead of hg. (#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d0)

(cherry picked from commit 95c50e5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants