Mercurial > hg-stable
comparison hgweb.cgi @ 51154:c17cf2d51ff4 stable
bundle: do not detect --base argument that match nothing as lack of argument
With the previous version of the code, if --base did not match anything, it will
be handled as if no --base was provided and will fallback to using discovery
with the default path. This has two issues :
- The resulting bundle won't match what the user requested,
- if not default path is configured, it will crash.
We now properly distinct between the two cases and if the --base query does not
find any changeset, we will assume that everything under --rev needs to be sent.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 27 Dec 2023 18:02:26 +0100 |
parents | d5cd1fd690f3 |
children |
comparison
equal
deleted
inserted
replaced
51153:51021612aea7 | 51154:c17cf2d51ff4 |
---|