Mercurial > hg
view rust/hg-direct-ffi/src/lib.rs @ 41366:fabb0224a599
hghave: let OSError with ENOENT through like any other
Before this patch, if we get an OSError with ENOENT, we would not
re-raise it and would instead run into an undefined variable ("p")
soon thereafter.
Differential Revision: https://phab.mercurial-scm.org/D5631
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 17 Jan 2019 09:24:30 -0800 |
parents | 72b94f946e90 |
children |
line wrap: on
line source
// Copyright 2018 Georges Racinet <gracinet@anybox.fr> // // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. //! Bindings for CPython extension code //! //! This exposes methods to build and use a `rustlazyancestors` iterator //! from C code, using an index and its parents function that are passed //! from the caller at instantiation. extern crate hg; extern crate libc; mod ancestors; pub use ancestors::{ rustlazyancestors_contains, rustlazyancestors_drop, rustlazyancestors_init, rustlazyancestors_next, };