News for hackers. Stuff that matters.
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.