Mercurial > hg
annotate rust/Cargo.toml @ 48686:4507bc001365
obsolete: make sure windows tests pass when stat() is given a URL
This is a temporary fix for an issue that's only visible on windows, but exists
on other platforms as well.
The issue is if we're trying to use obsstore from a remote peer and that peer
is a static HTTP repo, vfs tries to os.stat() a remote file using a URL to that
file (e.g. http://localhost/repo/.hg/store/obsstore). The next patch in this
series makes branchcache obsolescence-aware, so in certain situations exchange
process will try os.stat()ing a URL. On windows this will produce an OSError
that is not ENOENT, but EINVAL instead (because of `:` symbol, for example).
Differential Revision: https://phab.mercurial-scm.org/D12100
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 28 Jan 2022 19:07:52 +0300 |
parents | cf04f62d1579 |
children | 34e0670caf46 |
rev | line source |
---|---|
35569
964212780daf
rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 [workspace] |
44981
cf04f62d1579
rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
44638
diff
changeset
|
2 members = ["hg-core", "hg-cpython", "rhg"] |
44638
af739894a4c1
hgcli: add stub PyOxidizer project
Gregory Szorc <gregory.szorc@gmail.com>
parents:
44637
diff
changeset
|
3 exclude = ["chg", "hgcli"] |