<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/hg-to-git, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-03-20T17:23:45Z</updated>
<entry>
<title>contrib: drop hg-to-git script</title>
<updated>2024-03-20T17:23:45Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2024-03-20T09:48:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba155b5cb7cdad1c2cdaf5aa9ff01adb4226aa3f'/>
<id>urn:sha1:ba155b5cb7cdad1c2cdaf5aa9ff01adb4226aa3f</id>
<content type='text'>
The hg-to-git script is full of command injection vulnerabilities
against malicious branch and tag names. It's also old and largely
unmaintained; the last commit was over 4 years ago, and the last code
change before that was from 2013. Users are better off with a modern
remote-helper tool like cinnabar or remote-hg.

So rather than spending time to fix it, let's just get rid of it.

Reported-by: Matthew Rollings &lt;admin@stealthcopter.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: make it compatible with both python3 and python2</title>
<updated>2019-09-18T19:03:05Z</updated>
<author>
<name>Hervé Beraud</name>
<email>herveberaud.pro@gmail.com</email>
</author>
<published>2019-09-18T08:33:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d17ae00c97d3edbe548a0aaa64ac37bfc9440809'/>
<id>urn:sha1:d17ae00c97d3edbe548a0aaa64ac37bfc9440809</id>
<content type='text'>
Python 2 is EOL at the end of 2019, many distros and systems now
come with python 3 as their default version.

Rewrite features used in hg-to-git that are no longer supported in
Python 3, in such a way that an updated code can still be usable
with Python 2:

 - print is not a statement; use print() function instead.
 - dict.has_key(key) is no more; use "key in dict" instead.

Signed-off-by: Hervé Beraud &lt;herveberaud.pro@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Replace Free Software Foundation address in license notices</title>
<updated>2017-11-09T04:21:21Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2017-11-07T05:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=484257925fada31045aefec7484fd663f7c40c2f'/>
<id>urn:sha1:484257925fada31045aefec7484fd663f7c40c2f</id>
<content type='text'>
The mailing address for the FSF has changed over the years.  Rather than
updating the address across all files, refer readers to gnu.org, as the
GNU GPL documentation now suggests for license notices.  The mailing
address is retained in the full license files (COPYING and LGPL-2.1).

The old address is still present in t/diff-lib/COPYING.  This is
intentional, as the file is used in tests and the contents are not
expected to change.

Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: --allow-empty-message in git commit</title>
<updated>2013-07-23T19:17:23Z</updated>
<author>
<name>Maurício C Antunes</name>
<email>mauricio.antunes@gmail.com</email>
</author>
<published>2013-07-20T16:33:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1611eed6e5071acd24b97933ac0d845db87ec7df'/>
<id>urn:sha1:1611eed6e5071acd24b97933ac0d845db87ec7df</id>
<content type='text'>
Do not fail to import mercurial commits with empty commit messages.

Signed-off-by: Maurício C Antunes &lt;mauricio.antunes@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add checks to Python scripts for version dependencies.</title>
<updated>2012-12-28T19:35:04Z</updated>
<author>
<name>Eric S. Raymond</name>
<email>esr@thyrsus.com</email>
</author>
<published>2012-12-28T16:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a33faf2827bfc7baea5d83ef1be8fe659a963355'/>
<id>urn:sha1:a33faf2827bfc7baea5d83ef1be8fe659a963355</id>
<content type='text'>
Signed-off-by: Eric S. Raymond &lt;esr@thyrsus.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Correct references to /usr/bin/python which does not exist on FreeBSD</title>
<updated>2010-03-24T21:33:54Z</updated>
<author>
<name>R. Tyler Ballance</name>
<email>tyler@monkeypox.org</email>
</author>
<published>2010-03-21T19:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=44211e8c2ea48e1149cb36a02bd54f2d21c207f4'/>
<id>urn:sha1:44211e8c2ea48e1149cb36a02bd54f2d21c207f4</id>
<content type='text'>
On FreeBSD, Python does not ship as part of the base system but is available
via the ports system, which install the binary in /usr/local/bin.

Signed-off-by: R. Tyler Ballance &lt;tyler@monkeypox.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: fix COMMITTER type-o</title>
<updated>2010-01-12T21:18:27Z</updated>
<author>
<name>Bart Trojanowski</name>
<email>bart@jukie.net</email>
</author>
<published>2010-01-09T00:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0def5b6ed4ffbc2cced3206acd6359178f7b8c5d'/>
<id>urn:sha1:0def5b6ed4ffbc2cced3206acd6359178f7b8c5d</id>
<content type='text'>
This script passes the author and committer to git-commit via environment
variables, but it was missing the seccond T of COMMITTER in a few places.

Signed-off-by: Bart Trojanowski &lt;bart@jukie.net&gt;
Acked-by: Stelian Pop &lt;stelian@popies.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: don't import the unused popen2 module</title>
<updated>2009-08-04T22:20:45Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2009-08-03T16:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b0c051d1a0939ed0013d359065b3afaebe3a717f'/>
<id>urn:sha1:b0c051d1a0939ed0013d359065b3afaebe3a717f</id>
<content type='text'>
Importing the popen2 module in Python-2.6 results in the
"DeprecationWarning: The popen2 module is deprecated.  Use the
subprocess module." message. The module itself isn't used in fact, so
just removing it solves the problem.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: use git init instead of git init-db</title>
<updated>2008-07-06T06:35:12Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-07-06T03:15:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af9a01e1c2f6a8814b817eb7f3d78814389a3212'/>
<id>urn:sha1:af9a01e1c2f6a8814b817eb7f3d78814389a3212</id>
<content type='text'>
Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>hg-to-git: rewrite "git-frotz" to "git frotz"</title>
<updated>2008-07-06T06:35:12Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-07-06T03:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=96f2395951fd81ad49217d49074dfbcf3f0df685'/>
<id>urn:sha1:96f2395951fd81ad49217d49074dfbcf3f0df685</id>
<content type='text'>
This is not just nice but necessary since git-frotz is no longer in
PATH.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
