Language Selection

English French German Italian Portuguese Spanish

Mercurial vs Git

Filed under
Software

There are many blog posts and articles all over the Internet providing comparissons between Git and Mercurial. Most of them only briefly describe the main differences and then try to decide which one is better. However, I didn’t find many articles explaining the differences in detail from a neutral point of view and that’s what I’ll try to do here, also providing links to relevant documentation. For simple uses like a single user managing a private project, Git and Mercurial are equivalent. Their workflow differs a little due to the underlying differences, but their usage doesn’t seem to be very far apart. However, those differences start being noticeable when you collaborate with more users and, the more complex the project is, the more you will notice them. I will focus on four main aspects. Hopefully, this information could be useful to Mercurial users wanting to know how Git works and vice versa, as well as novice users who are not using either one yet. In that case, I suggest you to experiment a little bit with both instead of trying to make a theorical decision based on what you read in the documentation or in articles like this one.

  1. The repository structure, that is, how each one of them record changes and history.

  2. The noticeable differences in how they manage the branching process.
  3. Documentation.
  4. Their two popular hosting sites, GitHub and Bitbucket.

rest here




More in Tux Machines

Releases: Linux From Scratch 8.0, LEDE 17.01, 4MRescueKit 21.0

  • Linux From Scratch 8.0 and Beyond LFS 8.0 Land with GCC 6.2, GNU Binutils 2.27
    Bruce Dubbs from the LFS (Linux From Scratch) and BLFS (Beyond Linux From Scratch) projects that allow experienced users to build their own Linux-based operating systems from scratch announced the release of Linux From Scratch 8.0 and Beyond LFS 8.0. Both Linux From Scratch 8.0 and Beyond Linux From Scratch 8.0 major versions are available with and without the systemd init system, and they offer support for some of the latest GNU/Linux and Open Source components, including GCC (GNU Compiler Collection) 6.2.0, GNU Binutils 2.27, and Glibc (GNU C Library) 2.24.
  • OpenWRT-Forked LEDE Releases 17.01, Presents At The Embedded Linux Conf
    This week marks the 17.01.0 final release of the Linux Embedded Development Environment (LEDE). They also presented at this week's Linux Foundation Embedded Linux Conference about their project that's a fork of OpenWRT and aims for router/embedded use-cases. LEDE 17.01.0 final was released on Wednesday and modernizes many parts of its OpenWRT stack, switches to the Linux 4.4 kernel (from Linux 3.18), updates many pieces of key software, adds additional security features, improves networking support, and has a wide variety of other improvements.
  • 4MRescueKit 21.0 Has Antivirus Live CD 21.0-0.99.2, 4MRecover and 4MParted 21.0

Linux Kernel News

  • Linux Kernels 4.9.13 and 4.4.52 LTS Bring Updated USB Drivers, Networking Fixes
  • Linux Kernel 4.10 Gets Its First Point Release, It's Now Ready for Deployment
    Well, that didn't take long, and it looks like the recently released Linux 4.10 kernel series just got its first point release today, Linux kernel 4.10.1, marking the branch as stable and ready for deployment in stable OSes. Linux kernel 4.10.1 comes only one week after the release of Linux 4.10, which is now considered the most stable and advanced kernel available for any GNU/Linux distribution that wants to adopt it for their users, so you can imagine that the changes are quite small in number. According to the appended shortlog, a total of 21 files were changed in this first point release, with 259 insertions and 52 deletions.
  • GNU Linux-libre 4.10-gnu is now available
  • GNU Linux-Libre 4.10: GPU Drivers Remain The Most Frequent Offenders
    The GNU Linux-libre 4.10 kernel was released last weekend just after the official Linux 4.10 kernel release while I hadn't noticed the de-blobbed kernel release until today. The Linux-libre folks continue to criticize the open-source GPU DRM drivers as being offenders for using binary blob firmware/microcode. GNU Linux-libre for those that don't know is the FSFLA effort to de-blob the mainline Linux kernel by removing support for loading binary-only modules as well as stripping out drivers or portions of driver code that rely upon closed-source/binary-only firmware/microcode images, which is quite common among newer hardware.
  • AMD's Ryzen Will Really Like A Newer Linux Kernel

Today in Techrights

FreeBSD-Based TrueOS Operating System Gets New Jail Tools, Automounting Feature

The developers of the FreeBSD-based TrueOS operating system (formerly PC-BSD) announced the release and general availability of a new stable build versioned 2017-02-22. Read more