Live data from Hacker News

Python now uses Mercurial

hg.python.org

11–20 of 114 posts

Re: Python now uses Mercurial

#11
post #3

But why are they using Mercurial and not Git? I want to what are the advantaged for them to choose Hg.

http://www.python.org/dev/peps/pep-0374/#why-mercurial-over-... Basically, they wanted a tool that was equally usable on all platforms, which excluded Git on Windows. They also wanted something written in Python, of course, although they would have sacrificed that in the interest of pragmatism.

In all fairness, I'd like to point out it's quite possible to make Git work on Windows. If one can adjust the path, it is also reachable through the same command line Windows folks are used to.

Re: Python now uses Mercurial

#13
post #5
post #3

But why are they using Mercurial and not Git? I want to what are the advantaged for them to choose Hg.

If nothing else it's because Mercurial itself is written in Python.

Not true.

While mercurial being written in python is noted[1] , it is made explicitly clear, its not the reason behind the main selection of Hg as the version control.

[1] - http://www.python.org/dev/peps/pep-0374/#why-mercurial-over-...

Re: Python now uses Mercurial

#18
post #11

Earlier quoted context omitted.

http://www.python.org/dev/peps/pep-0374/#why-mercurial-over-... Basically, they wanted a tool that was equally usable on all platforms, which excluded Git on Windows. They also wanted something written in Python, of course, although they would have sacrificed that in the interest of pragmatism.

In all fairness, I'd like to point out it's quite possible to make Git work on Windows. If one can adjust the path, it is also reachable through the same command line Windows folks are used to.

As far as I know, Git was a lot more awkward to use on Windows when they started discussing this move a few years ago.

Re: Python now uses Mercurial

#19
post #5

Earlier quoted context omitted.

If nothing else it's because Mercurial itself is written in Python.

Not true. While mercurial being written in python is noted[1] , it is made explicitly clear, its not the reason behind the main selection of Hg as the version control. [1] - http://www.python.org/dev/peps/pep-0374/#why-mercurial-over-...

"First, git's Windows support is the weakest out of the three DVCSs being considered which is unacceptable as Python needs to support development on any platform it runs on."

This is FUD! The support for git on windows is pretty good and there is nothing obstrusive in it. You can use git on Windows fairly well. Sad to see this kind of comment written by smart people.

Post reply on HN