b02e32e02e
Summary: Fixes the below type error when pulling from a git repo using hg-git on my laptop: File "edenscm/hgext/remotenames.py", line 225, in expull pullremotenames(repo, remote, bookmarks) File "edenscm/hgext/remotenames.py", line 314, in pullremotenames path = activepath(repo.ui, remote) File "edenscm/hgext/remotenames.py", line 1464, in activepath rpath = _normalizeremote(remote.url) File "edenscm/hgext/remotenames.py", line 1439, in _normalizeremote u = util.url(remote) File "edenscm/hgext/hggit/__init__.py", line 164, in _url if not (path.startswith(pycompat.ossep) and ":" in path): AttributeError: 'function' object has no attribute 'startswith' Basically, `peer.url()` is the API, `peer._url` is a private field that does not always exist somehow. Besides, further remove named branches that can crash hg-git with NotImplementedError: File "edenscm/hgext/remotenames.py", line 225, in expull pullremotenames(repo, remote, bookmarks) File "edenscm/hgext/remotenames.py", line 322, in pullremotenames for branch, nodes in remote.branchmap().iteritems(): File "edenscm/hgext/hggit/gitrepo.py", line 73, in branchmap raise NotImplementedError Reviewed By: DurhamG Differential Revision: D14144462 fbshipit-source-id: 2e886c639cf6689480f84626eaf0d5ec25512ea0 |
||
---|---|---|
apiserver | ||
async-compression | ||
asyncmemo | ||
blobimport_lib/src | ||
blobrepo | ||
blobrepo_utils | ||
blobstore | ||
blobstore_sync_queue | ||
bonsai_hg_mapping | ||
bonsai_utils | ||
bookmarks | ||
bundle2_resolver | ||
bytes-ext | ||
cache_warmup/src | ||
changesets | ||
cmdlib/src | ||
cmds | ||
common | ||
failure_ext | ||
filenodes | ||
futures-ext | ||
hgcli | ||
hgproto | ||
hook_tailer | ||
hooks | ||
mercurial | ||
mercurial_bundles | ||
mercurial_types | ||
metaconfig | ||
mononoke_api/src | ||
mononoke_types | ||
netstring | ||
phases | ||
py_tar_utils | ||
reachabilityindex | ||
ready_state/src | ||
repo_client | ||
revset | ||
server | ||
sshrelay | ||
tests | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
LICENSE | ||
packman.yml | ||
README.md | ||
rustfmt.toml |
Mononoke
Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.
Caveat Emptor
Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects such as Eden.
The version that we provide on GitHub does not build yet.
This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:
- Full support for a standard
cargo build
. - Open source replacements for Facebook-internal services (blob store, logging etc).
The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future.