Mercurial > hg
view rust/hg-direct-ffi/Cargo.toml @ 42079:fcd7a91dec23
localrepo: don't allow lookup of working directory revision
It seems that repo.lookup(), which is what supports the "lookup" wire
protocol command, should not allow the working copy revision
input.
This fixes both the pull test and the convert test I just added.
Differential Revision: https://phab.mercurial-scm.org/D6215
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 05 Apr 2019 11:24:00 -0700 |
parents | a36c5e23c055 |
children |
line wrap: on
line source
[package] name = "hgdirectffi" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] description = "Low level Python bindings for hg-core, going through existing C extensions" [dependencies] libc = "*" hg-core = { path = "../hg-core" } [lib] crate-type = ["staticlib"]