Live data from Hacker News

Sapling: A new source control system with Git-compatible client

engineering.fb.com

521–530 of 543 posts

Re: Sapling: A new source control system with Git-compatible client

#521
post #30

As a Meta employee for almost 4 years what I will say is I was skeptical at first coming from git, but the sapling system works very well in practice in my experience. I still use git for everything outside of work, but I may consider sapling now.

I'm ex-Meta and now at Google and while they have 'hg' as a wrapper around their fig system, it's lacking so many of the Sapling features I am sad and frustrated occasionally.

Re: Sapling: A new source control system with Git-compatible client

#522
post #274

Earlier quoted context omitted.

React Native hasn't yet reached v1.0. Or several critical issues hasn't been addressed yet as of now.

There recently was a thread here on the impact of layoffs on React. And apparently even Facebook has abandoned react for anything but internal projects.

> And apparently even Facebook has abandoned react for anything but internal projects

I... what? Do you have a source or speculating to create fear of future support?

I'm nearly certain this is untrue.

Re: Sapling: A new source control system with Git-compatible client

#523

Earlier quoted context omitted.

My experience is the opposite. Most of the staunch Mercurial supporters came from CVS or SVN and found Mercurial to fit better into their preexisting mental model of source control. Users that started with Git are more likely to internalize Git's concepts as "the natural way to do version control", and more likely to find Mercurial counterintuitive.

People don't internalize Git concepts as "natural", they get Stockholm Syndrome. I'm not saying mercurial is better, but there's a reason I have to remind people that this[1] is satire - the real manuals are so convoluted that they seem like parodies of themselves. [1] https://git-man-page-generator.lokaltog.net/#c2NyZWVuJCRnYXJ...

There are two reasons Git is better, and the UI is NOT one of them: speed and repository format. I think Keith Packard wrote about this best: Git is technically under the covers way superior over Hg, it's not even a competition. For usability, I think with Sapling we finally get some real competition and that might be the user interface alternative we need, as well as the monorepo approach it was basically made for, but let's just say that I don't trust people who think Mercurial is technically even close to a good idea.

Re: Sapling: A new source control system with Git-compatible client

#524

Earlier quoted context omitted.

What are the changes that Mercurial has? I've read many times that Mercurial is easier but I've never seen the reasons. The times I've used mercurial (mostly to download a repo) it doesn't look that different, and other than the staging area weirdness I don't find git too difficult.

You know how when using git you have to add tons of flags to every command to make it do what a sane person would actually want? Mercurial just does what you want.

I'm going to be blunt and state that what most people want is not what they actually need. If you use Git for how it was designed, the commands remain generally pretty clean. If you come from an SVN mindset, you are probably not really using Git the way it was designed, and Mercurial fits better.

I have used (actually introduced) Mercurial before at a company and considered them basically equivalent enough, only to get stuck in some horrible design choices of early Mercurial (named branches and not having rebase by default). I am happy to see these elements corrected in Sapling, giving me enough confidence that I might actually use Sapling over time...

Re: Sapling: A new source control system with Git-compatible client

#525
post #522
post #274

Earlier quoted context omitted.

There recently was a thread here on the impact of layoffs on React. And apparently even Facebook has abandoned react for anything but internal projects.

> And apparently even Facebook has abandoned react for anything but internal projects I... what? Do you have a source or speculating to create fear of future support? I'm nearly certain this is untrue.

https://news.ycombinator.com/item?id=33534221

Re: Sapling: A new source control system with Git-compatible client

#526
post #522
post #274

Earlier quoted context omitted.

There recently was a thread here on the impact of layoffs on React. And apparently even Facebook has abandoned react for anything but internal projects.

> And apparently even Facebook has abandoned react for anything but internal projects I... what? Do you have a source or speculating to create fear of future support? I'm nearly certain this is untrue.

Go to RN’s GitHub and go to insights. This will answer your questions.

Re: Sapling: A new source control system with Git-compatible client

#527
post #87

Thank god. I have been waiting ten years ( https://www.google.com/url?q=https://stevebennett.me/2012/02... ) for someone to develop a better CLI for git, someone with the scale and clout to do it well and gain mindshare. It's not that useful to learn a new workflow if no one you ever work with will be familiar with it. This looks incredible. A simple command to uncommit or unamend makes you further realise what a dis…

Admittedly this might not help since it is not CLI, but spend some time this weekend with Emacs and magit. You don't have to use emacs for anything else, just the magit client. It will transform your git experience.

Re: Sapling: A new source control system with Git-compatible client

#528

Ah, there it is. I was wondering when this would happen. Facebook used to be involved with the Mercurial community, but it was difficult to work with them. They always wanted to do things their way, had their own intentions, and started to demand that the Mercurial project work the way that Facebook wanted. For example, they demanded that we start using Phabricator and started slowly removing sequential revisions fro…

I switched from git to Mercurial and was absolutely gobsmacked by how much better it is. The only comparison was switching from a Blackberry to an iPhone - everything just works exactly the way I want it to. Yes, I read the manual for git, but I never needed to for Mercurial.

Having used svn, git, mercurial then back to git (with the last two at the same job, the business unit having decided to move from mercurial to a git-based solution) and I've preferred mercurial to git, where it feels like there's more possible foot-guns and its features don't bring enough value to justify the increased complexity when using it .

Re: Sapling: A new source control system with Git-compatible client

#529
post #120
post #87

Thank god. I have been waiting ten years ( https://www.google.com/url?q=https://stevebennett.me/2012/02... ) for someone to develop a better CLI for git, someone with the scale and clout to do it well and gain mindshare. It's not that useful to learn a new workflow if no one you ever work with will be familiar with it. This looks incredible. A simple command to uncommit or unamend makes you further realise what a dis…

I've been using lazygit[0] for a while, which might not be what you're looking for but I enjoy it a lot. [0]: https://github.com/jesseduffield/lazygit

I tried it, but I found it too radical a workflow change, and it wasn't intuitive for me. Loved the concept though.

Re: Sapling: A new source control system with Git-compatible client

#530

Earlier quoted context omitted.

I don't blame git, I'm mostly surprised about the social inertia regarding improving it. But like programming languages, pressure accumulate until it's released, I'm sure sapling and similar will make people want to try new things and git will soon catch up.

The social inertia point is an interesting one. It seems like in some areas, like JavaScript frameworks, there is a ton of inertia for change; in other areas, like git, there is a ton of inertia for stasis. Why is that?

I honestly don't know. For some reason, with JS frameworks, everyone seems to agree that improving ergonomics is a good thing. New methods are added, old ones are tweaked, constantly improving the developer experience.

But with Git, every conversation about improving the CLI has 50% of the participants claiming that the other 50% are just too stupid to use it, and that the CLI is brilliant.

Post reply on HN