Mercurial > hg
view rust/hgcli/Cargo.toml @ 50521:f697af015683
stream-clone: bail-out earlier if pull is partial
The `canperformstreamclone` function is bit messy. However it seems clearer to
me to process the very generic condition about "can we consider a stream-clone
at all", before checking if a stream-clone is requested and if a compatible
protocol can be negotiated with the server.
So I am doing some gratuitous movement so reorder conditional.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 20 May 2023 01:19:26 +0200 |
parents | 57b5452a55d5 |
children |
line wrap: on
line source
[package] name = "hgcli" version = "0.1.0" build = "build.rs" authors = ["Gregory Szorc <gregory.szorc@gmail.com>"] edition = "2018" license = "GPL-2.0" readme = "README.md" [[bin]] name = "hg" path = "src/main.rs" [dependencies] jemallocator-global = { version = "0.3", optional = true } [dependencies.pyembed] git = "https://github.com/indygreg/PyOxidizer.git" rev = "4697fb25918dfad6dc73288daeea501063963a08" default-features = false [features] default = ["build-mode-pyoxidizer-exe"] jemalloc = ["jemallocator-global", "pyembed/jemalloc"] build-mode-pyoxidizer-exe = ["pyembed/build-mode-pyoxidizer-exe"] build-mode-prebuilt-artifacts = ["pyembed/build-mode-prebuilt-artifacts"] cpython-link-unresolved-static = ["pyembed/cpython-link-unresolved-static"] cpython-link-default = ["pyembed/cpython-link-default"]