Live data from Hacker News

Python now uses Mercurial

hg.python.org

111–114 of 114 posts

Re: Python now uses Mercurial

#111
post #76

Earlier quoted context omitted.

No specific commands really, but I think the whole hg UI is just more consistent. I use both, yet with git I have to revert to `man` almost every day :/ Compare: `git branch xxx / git branch -a`, `git tag xxx / git tag -l`, `git show-ref --heads` To: `hg branch xxx / hg branches`, `hg tag xxx / hg tags`, `hg heads` There are also "duplicates" that I'm not sure why aren't folded into one command: `show-branch/branch`,…

`show xxx` which is `diff -c xxx` There is a subtle difference. git-show is meant to show an object. A commit is an object, but so are other things. A more descriptive name would be 'git show-object.'

An example that I just came across in normal usage:

   git show :
This will show you the contents of on . It does not show you the diff of that file for the latest commit to ; it spits out the state of that file to the $PAGER. This is something that 'git diff' does not do. Note that doesn't even have to exist on the current branch, and you don't even have to have a working tree (i.e. you can do this in a bare repo to inspect file contents without actually needing to checkout a working copy of all of the code).

Re: Python now uses Mercurial

#112

Earlier quoted context omitted.

Perl also uses Git.

And Go uses mercurial.

An explanation for that might be that Go, being a Google Project, is hosted on Google Code, where Mercurial is the only supported DVCS.

http://googlecode.blogspot.com/2009/04/mercurial-support-for... http://code.google.com/p/support/wiki/DVCSAnalysis

Re: Python now uses Mercurial

#113
post #96

Earlier quoted context omitted.

PHP is the Walmart of languages, everyone uses it because everyone uses it, but nobody really has anything _good_ to say about it.

I wasn't going to jump into this discussion but that isn't very fair. I don't use PHP myself and am not a fan of it but here are some reasons why I think it is popular: 1) It's very easy to get started with, even if you're not a great programmer (or even if you have never programmed before). Just start with pure HTML and then add a few tags. 2) Lots of PHP hosting available, much of it free. 3) Loads of frameworks an…

2 and 3 are not really advantages for PHP, as the same can be said for most any language.

I think #1 is the big reason that PHP is as popular as it is, but that "feature" has a funny smell among programmers who don't like to mix languages.

Re: Python now uses Mercurial

#114

Earlier quoted context omitted.

Exactly. And if you know that you just want the SVN/HG commit-everything, just add a -a. Pretty intuitive. Once you get used to having the ability to create arbitrary commits from a huge changeset, you'll find it aggravating when everyone else commits "3 bug fixes to core, swapping out a style sheet, and cleanup in database code" :)

Unfortunately people working with git at work are still doing exactly that. Not sure how to make them stop either, since so far telling them it is wrong hasn't helped ...

Do they know 'git gui'? Imo the visual view helps to commit several unrelated things separately.
Post reply on HN