##// END OF EJS Templates
rhg: Make `files` work on repo-relative paths when possible...
rhg: Make `files` work on repo-relative paths when possible When the current directory is outside of the repository we need to turn everything into absolute filesystem paths in order to compute correct relative paths. This was previously done unconditionally, but is not necessary when the current directory is inside the repository. With this change `rhg files > /dev/null` at the root of a mozilla-central snapshot goes from ~150 ms to ~70 ms. My repository is located at a somewhat long path though (93 bytes). The effect may not be as pronounced at a shorter path. Differential Revision: https://phab.mercurial-scm.org/D10200

File last commit:

r46277:57b5452a default
r47687:b5e8bf10 default
Show More
Cargo.toml
28 lines | 819 B | text/plain | TOMLLexer
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128 [package]
name = "hgcli"
version = "0.1.0"
build = "build.rs"
authors = ["Gregory Szorc <gregory.szorc@gmail.com>"]
edition = "2018"
Gregory Szorc
hgcli: customize for Mercurial...
r45129 license = "GPL-2.0"
readme = "README.md"
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
Gregory Szorc
hgcli: customize for Mercurial...
r45129 [[bin]]
name = "hg"
path = "src/main.rs"
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
[dependencies]
jemallocator-global = { version = "0.3", optional = true }
Gregory Szorc
pyoxidizer: produce working Python 3 Windows installers (issue6366)...
r46277
[dependencies.pyembed]
git = "https://github.com/indygreg/PyOxidizer.git"
rev = "4697fb25918dfad6dc73288daeea501063963a08"
default-features = false
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
[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"]