Live data from Hacker News

I see a future in jj

steveklabnik.com

141–150 of 336 posts

Re: I see a future in jj

#141
post #130

I gave jj two honest tries. While first class conflicts is a cool idea, in practice I deal with staging/committing 30x more than conflict resolution, and coming from magit, using jj’s hunk split & select felt like being thrown into stone age. Plus I rebase a lot and get a lot of jj’s benefits from magit’s various rebase shortcuts already, IIRC first class conflicts was the only truly novel thing I didn’t have. For pe…

Oh wow, they were going for "magic" with that name?? I read it as "maggot".

Re: I see a future in jj

#142
post #129

Earlier quoted context omitted.

I started using git as my daily driver at Google in 2018. I was forcibly kicked off it for mercurial in 2020. The deprecation plan for mercurial is 2026 IIUC. Maybe if you adopted mercurial early it's different.

What was the reason for using Mercurial?

Why did Google decide to choose Mercurial? Based on what I read the main reason was that the mercurial dev team was willing to prioritize features needed for Google to add custom extensions to support its monorepo, and the git dev team wasn't going to reprioritize just for the sake of Google.

Re: I see a future in jj

#143
post #142

Earlier quoted context omitted.

What was the reason for using Mercurial?

Why did Google decide to choose Mercurial? Based on what I read the main reason was that the mercurial dev team was willing to prioritize features needed for Google to add custom extensions to support its monorepo, and the git dev team wasn't going to reprioritize just for the sake of Google.

I think you’re confusing Google with Facebook.

Re: I see a future in jj

#144

Does it work with large binary files and not choke like git? Cause git may have won for webdev etc, but in some industries such as gamedev, Perforce is the king... git is barely used at all because it can't handle binary files worth a damn(yes I know about the large file extension, no it isn't sufficient).

Right now, nothing special. But this is very much an area that's known about and something may happen in this area, we'll see.

If you could elegantly handle large or frequently-changing binaries I think I'd be willing to switch immediately.

It has always annoyed me that there's not any clever way to handle binary changes with version control.

Re: I see a future in jj

#145

Does it work with large binary files and not choke like git? Cause git may have won for webdev etc, but in some industries such as gamedev, Perforce is the king... git is barely used at all because it can't handle binary files worth a damn(yes I know about the large file extension, no it isn't sufficient).

It uses Git for storage and does not support LFS, so it's as bad as Git used to be for this specific usecase.

Re: I see a future in jj

#146
post #142

Earlier quoted context omitted.

What was the reason for using Mercurial?

Why did Google decide to choose Mercurial? Based on what I read the main reason was that the mercurial dev team was willing to prioritize features needed for Google to add custom extensions to support its monorepo, and the git dev team wasn't going to reprioritize just for the sake of Google.

Yes, that's correct. Another reason was that Mercurial is easier to customize because it's written in Python so we could sometimes just replace whatever we needed without needing much changes from Mercurial itself.

Yet another reason is that the .git directory is considered a documented API and several other tools and libraries depend on it (e.g. JGit and libgit2). So any new features for Google would need to be made to those tools too if we wanted things built on them to work.

We also consider Mercurial to have better UX.

Re: I see a future in jj

#147
post #142

Earlier quoted context omitted.

Why did Google decide to choose Mercurial? Based on what I read the main reason was that the mercurial dev team was willing to prioritize features needed for Google to add custom extensions to support its monorepo, and the git dev team wasn't going to reprioritize just for the sake of Google.

I think you’re confusing Google with Facebook.

j2kun seems to be a googler so I don't think so, but it's true that Facebook also went with Mercurial. I suspect it was for similar reasons.

Re: I see a future in jj

#148

Earlier quoted context omitted.

I think you’re confusing Google with Facebook.

j2kun seems to be a googler so I don't think so, but it's true that Facebook also went with Mercurial. I suspect it was for similar reasons.

Ahh. It sounded like a repeat of https://graphite.dev/blog/why-facebook-doesnt-use-git but maybe it did happen for both companies! They’d obviously be having similar issues. Thanks :)

Re: I see a future in jj

#149

Does it work with large binary files and not choke like git? Cause git may have won for webdev etc, but in some industries such as gamedev, Perforce is the king... git is barely used at all because it can't handle binary files worth a damn(yes I know about the large file extension, no it isn't sufficient).

It uses Git for storage and does not support LFS, so it's as bad as Git used to be for this specific usecase.

LFS sorta kinda works in my understanding, it’s not super nice yet though.

Re: I see a future in jj

#150
I'm kind of ambivalent about jujutsu. There's too big of an impedance mismatch between GitHub PRs and jujutsu, nor does it have a good VS Code UI.

I only use it when I have a ton of minor PRs I want to work on simultaneously, otherwise I just do git worktrees.

I'm mainly in favour because my name is JJ and sharing my name with a widely-used source control tool might help my career.

Post reply on HN