hg-git 1.0.4 & 1.1.0 released

22 views
Skip to first unread message

Dan Villiom Podlaski Christiansen

unread,
Jan 13, 2024, 4:33:34 PMJan 13
to merc...@mercurial-scm.org, hg-...@googlegroups.com
Hi,

I've pushed two releases of hg-git to PyPI and Heptapod, a bugfix
release and a new feature release:

https://pypi.org/project/hg-git/1.0.4
https://foss.heptapod.net/mercurial/hg-git/-/releases/1.0.4

https://pypi.org/project/hg-git/1.1.0
https://foss.heptapod.net/mercurial/hg-git/-/releases/1.1.0

The 1.1.0 release is mostly unchanged from 1.1.0b1; I've included its
release notes for reference.

hg-git 1.1.0 (2024-01-13)
=========================

This is a feature release that contains changes all changes from
1.1.0b1 and 1.0.4, as well as the following minor change:

* Remove some compatibility for now-unsupported versions of Dulwich.

This release requires Mercurial 6.1, or later, Dulwich 0.20.11 or
later and Python 3.8 or later.

hg-git 1.0.4 (2024-01-13)
=========================

This is a minor release, focusing on bugs and compatibility.

* Address regression with Mercurial 6.4 and later where remote tags
weren't updated on push.

hg-git 1.1.0b1 (2023-11-08)
===========================

This is a preview of an upcoming feature release that contains changes
to user-facing behaviour.

Changes to behaviour:

* The ``gclear`` command is inherently dangerous, and has been
replaced with a debug command instead.
* The ``.hgsub`` and ``.gitmodules`` files are no longer retained when
pushing to or pulling from Git, respectively. Instead, changes to
each will be applied during the conversion.

Enhancements:

* Minor adjustments to categorisation of internal commands, and ensure
that they all start with ``git-*``.
* Move configuration from the ``README`` file to contained within the
extension, so that it is now self-documenting like Mercurial.
* The ``-B/--bookmark`` flag for ``push`` will now restrict bookmarks
by name rather than revision. (Please note that this is unsupported
when the ``git.branch_bookmark_suffix`` configuration option is
set.)
* Pushing an unknown bookmark with the ``-B/--bookmark`` option now
has the same effect as when pushing to a Mercurial repository, and
will delete the remote Git branch.
* You can now specify what to publish with the ``paths`` section. For
example::

[paths]
default = https://github.com/example/test
default:pushurl = git+ssh://g...@github.com/example
default:hg-git.publish = yes
* Pushing and pulling from Git now triggers ``incoming``, ``outgoing``
and ``changegroup`` hooks, along with the corresponding ``pre*``
hooks. In addition, the ``gitexport`` and ``gitimport`` hooks allow
intercepting when commits are converted. As a result, you can now
use the ``notify`` extension when interacting with Git repositories.
(#402)
* Git subrepositories will now be pushed as Git submodules.

This release requires Mercurial 6.1, or later, Dulwich 0.20.11 or
later and Python 3.8 or later.

OpenPGP_0xA2ACC81B41CF4E34.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages