Mercurial > hg-git-serve
diff src/hgext3rd/hggit_serve/__init__.py @ 17:a70f387ab3cd default tip
Fix formatting in documentation.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Fri, 20 Feb 2026 21:12:40 -0500 |
| parents | 959ef686193f |
| children |
line wrap: on
line diff
--- a/src/hgext3rd/hggit_serve/__init__.py Fri Feb 20 21:08:54 2026 -0500 +++ b/src/hgext3rd/hggit_serve/__init__.py Fri Feb 20 21:12:40 2026 -0500 @@ -72,13 +72,13 @@ ``hggit_serve`` will, by default, look in the following places to decide what Git branch to use as the HEAD: -#. The currently active Mercurial bookmark. -#. The bookmark named ``@``. (See :hg:`bookmarks` for details.) -#. The repository ``tip``. +1. The currently active Mercurial bookmark. +2. The bookmark named ``@``. (See :hg:`bookmarks` for details.) +3. The repository ``tip``. If ``@`` or the ``tip`` is used to select the active Git branch, then ``hggit_serve`` needs to pick a branch name to use. -This can be configured with the ``default-branch`` setting. +This can be configured with the ``default-branch`` setting:: [hggit-serve]
