A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-September/141676.html below:

[Python-Dev] PEP: Collecting information about git

[Python-Dev] PEP: Collecting information about gitStephen J. Turnbull stephen at xemacs.org
Wed Sep 16 19:36:50 CEST 2015
Nikolaus Rath writes:

 > Hmm, that's odd. As far as I know, the difference between the hg and git
 > DAG model can be summarized like this:
 > 
 >  * In git, leaves of the DAG must be assigned a name. If they don't have
 >    a name, they will be garbage collected.

You can turn off automatic garbage collection.  I usually do: it's
very unusual that I create millions of objects, or even megabytes
worth of objects, that I'm creating.

 >    If they have a name, they are called a branch.

Tags are also refs, the difference being that committing child of the
tip of the current branch advances the branch pointer, while that
won't happen with a tag.

 >  * In hg, leaves of the DAG persist. If you want to remove them, you
 >    have to do so explicitly (hg strip), if you want them to have a name,
 >    you must do so explicitly (hg bookmark). A node of the DAG with a
 >    name is called a bookmark.
 > 
 >  * hg named branches have no equivalent in git. 

And that's a very good thing.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4