comparison rust/hg-core/src/lib.rs @ 50863:c112cc9effdc

rhg: support "status FILE" This change adds a new [file] argument to rhg status, parses them as patterns, canonicalizes the paths, and constructs a new PatternMatcher to intersect with the existing matcher being passed to the status implementation. We also make filepatterns a public module so we can access the pattern-parsing functionality we need from commands/status.rs.
author Spencer Baugh <sbaugh@janestreet.com>
date Wed, 02 Aug 2023 10:46:47 -0400
parents f50e71fdfcb4
children e4b9f8a74d5f
comparison
equal deleted inserted replaced
50862:f874342fa568 50863:c112cc9effdc
23 StatusOptions, 23 StatusOptions,
24 }, 24 },
25 DirstateEntry, DirstateParents, EntryState, 25 DirstateEntry, DirstateParents, EntryState,
26 }; 26 };
27 pub mod copy_tracing; 27 pub mod copy_tracing;
28 mod filepatterns; 28 pub mod filepatterns;
29 pub mod matchers; 29 pub mod matchers;
30 pub mod repo; 30 pub mod repo;
31 pub mod revlog; 31 pub mod revlog;
32 pub use revlog::*; 32 pub use revlog::*;
33 pub mod checkexec; 33 pub mod checkexec;