Чем действительно отличаются Mercurial и Git?

Steve Losh, “The Real Difference Between Mercurial and Git”, public translation into Russian from English More about this translation.

See also 25 similar translations

Translate into another language.

Participants

ak367 points
Jangos302 points
develop7150 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next next untranslated
1 2 3

The Real Difference Between Mercurial and Git

Чем действительно отличаются Mercurial и Git?

History of edits (Latest: develop7 1 year, 2 months ago) §

There are a [lot](http://nubyonrails.com/articles/five-features-from-mercurial-that-would-make-git-suck-less) of [other](http://www.rockstarprogrammer.org/post/2008/apr/06/differences-between-mercurial-and-git/) [blog](http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/) [posts](http://jointheconversation.org/2008/11/24/on-mercurial.html) and [web sites](http://www.whygitisbetterthanx.com/) comparing [Mercurial][] and [git][].

Существует [немало](http://nubyonrails.com/articles/five-features-from-mercurial-that-would-make-git-suck-less) [других](http://www.rockstarprogrammer.org/post/2008/apr/06/differences-between-mercurial-and-git/) [сообщений](http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/) в [блогах](http://jointheconversation.org/2008/11/24/on-mercurial.html) и [веб сайтов](http://www.whygitisbetterthanx.com/) со сравнением [Mercurial][] и [git][].

History of edits (Latest: ak 1 year, 2 months ago) §

Some of them are just plain outdated or wrong ([whygitisbetterthanx.com](http://whygitisbetterthanx.com/) for example, lists "cheap local branching" as a git advantage over Mercurial, when Mercurial actually has [*cheaper* branching][hgbranch] than git!).

Некоторые из них просто устарели или неверны ([whygitisbetterthanx.com](http://whygitisbetterthanx.com/), например, считает "дешёвые локальные ветки" преимуществом git над Mercurial, в то время, как ветки в Mercurial на самом деле [ещё *дешевле*][hgbranch] чем в git!)

History of edits (Latest: develop7 1 year, 2 months ago) §

Even the ones that aren't factually incorrect often seem to focus on features and speed. While this may have been relevant in the past, both systems have borrowed so much from each other that I don't think it's a very big deal today.

Даже те, которые не ошибочны фактически, часто сосредотачиваются на возможностях и скорости. Хотя это, возможно, было актуально в прошлом, обе системы имеют так много заимствований друг от друга, что я не думаю, что это очень важно сегодня.

History of edits (Latest: develop7 1 year, 1 month ago) §

This post is about what I feel are the last, most *important* differences between git and Mercurial.

Этот пост о том, что я считаю наиболее *важными* отличиями между git и Mercurial.

History of edits (Latest: develop7 1 year, 1 month ago) §

[Mercurial]: {{links.mercurial}}

[Mercurial]: {{links.mercurial}}

History of edits (Latest: develop7 1 year, 2 months ago) §

[git]: {{links.git}}

[git]: {{links.git}}

History of edits (Latest: develop7 1 year, 2 months ago) §

[hgbranch]: http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/#branching-anonymously

[hgbranch]: http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/#branching-anonymously

History of edits (Latest: develop7 1 year, 2 months ago) §

[TOC]

[TOC]

History of edits (Latest: develop7 1 year, 2 months ago) §

## The Big Difference

## Большая Разница

History of edits (Latest: develop7 1 year, 2 months ago) §

I think there's still one very, very important difference left: **the systems *feel* very different to use**.

Я считаю, что осталось всего одно очень-очень важное отличие: **системы *ощутимо* отличаются при использовании**.

History of edits (Latest: develop7 1 year, 1 month ago) §

This might sound trivial, but I don't think it is. How a system "feels" matters. Version control is something you use *constantly*, so it's important to find a system that fits your way of thinking.

Это может прозвучать избито, но я так не думаю. То, как система "ощущается" — важно. Контроль версий — это то, что вы используете *постоянно*, поэтому очень важно найти систему, которая соответствует вашему образу мышления.

History of edits (Latest: develop7 1 year, 2 months ago) §

I'm a visual learner, so I find it helpful to make visual analogies when I'm trying to explain something. Here's how I visualize the difference between Mercurial and git:

Я лучше воспринимаю визуальную информацию и потому нахожу полезным прибегать к визуальным аналогиям, когда пытаюсь объяснить что-то. Вот так я ощущаю разницу между Mercurial и git:

History of edits (Latest: develop7 1 year, 2 months ago) §

![Swiss Army Knife and Kitchen Utensils](http://stevelosh.com/media/images/blog/2010/01/mercurial-vs-git.jpg "Mercurial vs. Git")

![Швейцарский армейский нож и кухонная утварь](http://stevelosh.com/media/images/blog/2010/01/mercurial-vs-git.jpg "Mercurial vs. Git")

History of edits (Latest: develop7 1 year, 2 months ago) §

Each git command is like a Swiss Army knife. For example, `git checkout` can switch the working directory to a new branch, update file contents to that of a previous revision, and even create a new branch. It's an efficient way to work once you learn all the arguments and how they interact with each other.

Каждая команда git — как швейцарский армейский нож. Например, `git checkout` может переключить рабочую директорию на новую ветку, обновить содержимое файлов до предыдущей ревизии, а также создать новую ветку. Это эффективный путь работать, если вы выучили все аргументы и как они взаимодействуют друг с другом.

History of edits (Latest: develop7 1 year, 2 months ago) §
Pages: ← previous Ctrl next next untranslated
1 2 3