hg-git 1.0.2 & 1.1.0b1 released

Dan Villiom Podlaski Christiansen danchr at gmail.com
Wed Nov 8 17:34:58 UTC 2023


Hi,

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

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

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


hg-git 1.0.3 (2023-11-07)
=========================

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

* Fix tests with Mercurial 6.5
* Handle failures to save refs, such as when they use characters
   forbidden by the file system; this is most easily noticed on Windows
   and macOS. (#397)
* Fix pulling annotated tags with ``-r``/``--rev``.


hg-git 1.1b1 (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://git@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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2ACC81B41CF4E34.asc
Type: application/pgp-keys
Size: 19743 bytes
Desc: OpenPGP public key
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20231108/ef9fb3bb/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20231108/ef9fb3bb/attachment.asc>


More information about the Mercurial mailing list