Mercurial > hg-git-serve
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 16:78ea1ec94be5 | 17:a70f387ab3cd |
|---|---|
| 70 to check out. | 70 to check out. |
| 71 | 71 |
| 72 ``hggit_serve`` will, by default, look in the following places to decide | 72 ``hggit_serve`` will, by default, look in the following places to decide |
| 73 what Git branch to use as the HEAD: | 73 what Git branch to use as the HEAD: |
| 74 | 74 |
| 75 #. The currently active Mercurial bookmark. | 75 1. The currently active Mercurial bookmark. |
| 76 #. The bookmark named ``@``. (See :hg:`bookmarks` for details.) | 76 2. The bookmark named ``@``. (See :hg:`bookmarks` for details.) |
| 77 #. The repository ``tip``. | 77 3. The repository ``tip``. |
| 78 | 78 |
| 79 If ``@`` or the ``tip`` is used to select the active Git branch, | 79 If ``@`` or the ``tip`` is used to select the active Git branch, |
| 80 then ``hggit_serve`` needs to pick a branch name to use. | 80 then ``hggit_serve`` needs to pick a branch name to use. |
| 81 This can be configured with the ``default-branch`` setting. | 81 This can be configured with the ``default-branch`` setting:: |
| 82 | 82 |
| 83 [hggit-serve] | 83 [hggit-serve] |
| 84 | 84 |
| 85 default-branch = main | 85 default-branch = main |
| 86 # Set what the name of the default branch to check out will be. | 86 # Set what the name of the default branch to check out will be. |
