##// END OF EJS Templates
dirstate-v2: Truncate directory mtimes to 31 bits of seconds...
dirstate-v2: Truncate directory mtimes to 31 bits of seconds … instead of 64 bits, while keeping the sub-second presision. This brings the size of one timestamp from 12 bytes to 8 bytes. 31 bits is chosen instead of 32 because that’s already what happens for the mtime of files and symlinks, because dirstate-v1 uses negative i32 values as markers. Later we’ll add sub-second precision for file/symlink mtimes, making their dirstate-v2 representation the same as for directories. Differential Revision: https://phab.mercurial-scm.org/D11633

File last commit:

r48196:ebdef628 default
r49007:320de901 default
Show More
config.rs
16 lines | 443 B | application/rls-services+xml | RustLexer
Raphaël Gomès
hg-core: add basic config module...
r46803 // config.rs
//
// Copyright 2020
// Valentin Gatien-Baron,
// Raphaël Gomès <rgomes@octobus.net>
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.
//! Mercurial config parsing and interfaces.
mod config;
mod layer;
Simon Sapin
rust: Move config value parsing functions to a new module...
r47344 mod values;
Pulkit Goyal
rhg: read [paths] for `--repository` value...
r48196 pub use config::{Config, ConfigSource, ConfigValueParseError};
Simon Sapin
rust: Parse system and user configuration...
r47212 pub use layer::{ConfigError, ConfigParseError};