3 ms·
> If two branches have parent commits in common, it technically belongs to both branches. It belongs to both branches as well in Mercurial, it just hides that
by justinlaster 10y ago
> If two branches have parent commits in common, it technically belongs to both branches.
It belongs to both branches as well in Mercurial, it just hides that information from you. An astoundingly bad idea, no? I'm not sure how mercurial hiding information from you is a "feature" in any sense of the word.
- binarycrusader 10y agoHiding or encapsulating information is arguably part of the very nature of an abstraction; the CLIs provided by git and Mercurial could be considered an abstraction of the implementation details of the respective technologies. As such, I fully expect each tool to hide some amount of information so that I don't have to think about the details.
- justinlaster 10y agoThere's no easy quick way to represent the actual state of the commit. It's far easier in git because it's the only way to do it. Furthermore, then information being "encapsulated" can actually become stale or misleading in Mercurial.