Skip to content
Snippets Groups Projects
Commit e5d2c2bd authored by Georges Racinet's avatar Georges Racinet
Browse files

server: moved init/start logic outside of Mercurial extension

This provides a more natural and easier to test setting, with
the extension being now only a thin wrapper for command-line
arguments, configuration and startup exceptions.

This also makes inner code more natural by stopping to insist that
any string must be bytes: URLs are now str in `hgitaly.server`.
On the other hand, storage root paths will keep on being bytes, as
is natural for file system paths.
parent 3865ccd5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment