Mercurial > hg-git-serve
diff src/hgext3rd/hggit_serve/_export.py @ 16:78ea1ec94be5
Fix error message for auto-export setting.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Fri, 20 Feb 2026 21:08:54 -0500 |
| parents | 959ef686193f |
| children |
line wrap: on
line diff
--- a/src/hgext3rd/hggit_serve/_export.py Fri Feb 20 21:07:11 2026 -0500 +++ b/src/hgext3rd/hggit_serve/_export.py Fri Feb 20 21:08:54 2026 -0500 @@ -166,9 +166,11 @@ if auto_export == _AX_ALWAYS or git_handler.has_gitrepo(repo): if auto_export not in (None, _AX_ALWAYS, _AX_DEFAULT): ui.warn( - b'unrecognized auto-export setting %s; using %s', - auto_export, - _AX_DEFAULT, + b'unrecognized auto-export setting "' + + auto_export + + b'"; using "' + + _AX_DEFAULT + + b'"\n' ) if _is_importing(repo): ui.note(b'currently importing revs from git; not exporting\n')
