News for hackers. Stuff that matters.
Re:Ten Years of Git: An Interview with Linus Torvalds by jibsen on Monday April 06, 2015 @04:18PM (#9330477)
I moved from the other way from Mercurial to Git a while back.

I started using Mercurial because the basic interface and operations appeared more natural to me. Also, at least at the time, the Windows support was better in Mercurial.

After working with some repos using Git, I fell in love with the staging area, and the ability to selectively stage parts of files. I am sure Mercurial has something similar, but it was built into Git.

The only thing that bugs me is that the Windows port appears to be stuck at 1.9.5 (yes, I know it's open-source so I should go fix it instead of complaining).

Re:Ten Years of Git: An Interview with Linus Torvalds by jordigh on Monday April 06, 2015 @05:21PM (#9330767)
> The only thing that bugs me is that the Windows port appears to be stuck at 1.9.5

What? What gave you that impression? That's a really old version. Here's the last 3.3 Windows build:

http://bitbucket.org/tortoisehg/files/downloads/tortoisehg-3...

This was from the downloads page:

http://mercurial.selenic.com/downloads

Edit: Oh, crap, I completely misread that. You were talking about the git Windows version. Oh well. Mercurial Windows versions are staying quite up-to-date, thanks to the tireless work of Steve Borho.

Re:Ten Years of Git: An Interview with Linus Torvalds by ngoldbaum on Monday April 06, 2015 @05:32PM (#9330820)
I think they're talking about the git port for windows.
Re:Ten Years of Git: An Interview with Linus Torvalds by virtualmic on Tuesday April 07, 2015 @01:34AM (#9332170)
Building Git on Windows is fairly easy. I am running version 2.1.0. Some instructions here: http://ufasoli.blogspot.in/2014/10/building-and-installing-g...
Re:Ten Years of Git: An Interview with Linus Torvalds by skeoh on Monday April 06, 2015 @07:33PM (#9331289)
Yes! Partial staging of files is amazing and I miss it sorely when I use hg. There must be a way to do it.
Re:Ten Years of Git: An Interview with Linus Torvalds by jordigh on Monday April 06, 2015 @08:43PM (#9331442)
Use crecord. We're working on moving it into core:

https://bitbucket.org/edgimar/crecord/overview

If you want a "staging area" just use a temporary commit and keep ammending it with `hg crecord --amend`. There really is no difference between a commit and a staging area except the name. If you're afraid of pushing your WIP commit, use `hg crecord --secret` or `hg commit --secret` so that your commit will be in the secret phase and won't be pushed until you declare it draft with `hg phase --draft`.

Re:Ten Years of Git: An Interview with Linus Torvalds by Blackthorn on Tuesday April 07, 2015 @12:36AM (#9332038)
That's a neat trick. I think it's doing it a disservice to say there's no difference except the name, though. While true, I think anyone who prefers hg to git (self included) shouldn't undersell the importance of interface.
Re:Ten Years of Git: An Interview with Linus Torvalds by pithon on Monday April 06, 2015 @08:56PM (#9331481)
I haven't used hg but as a Git user who uses this feature several times per day, this would be a complete deal breaker!
Re:Ten Years of Git: An Interview with Linus Torvalds by cjubb39 on Monday April 06, 2015 @11:28PM (#9331865)
Last summer, a project I was working on used hg. Missing partial staging is the only reason I haven't completely switched over from git.
Re:Ten Years of Git: An Interview with Linus Torvalds by vsync on Tuesday April 07, 2015 @01:51PM (#9335775)
I use patch queues.