[Commented On] D10137: rhg: Fall back to Python if ui.relative-paths is configured
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Mon Mar 15 13:12:09 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 26343.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10137?vs=26297&id=26343
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10137/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10137
AFFECTED FILES
rust/rhg/src/commands/files.rs
CHANGE DETAILS
diff --git a/rust/rhg/src/commands/files.rs b/rust/rhg/src/commands/files.rs
--- a/rust/rhg/src/commands/files.rs
+++ b/rust/rhg/src/commands/files.rs
@@ -27,6 +27,13 @@
}
pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> {
+ let relative = invocation.config.get(b"ui", b"relative-paths");
+ if relative.is_some() {
+ return Err(CommandError::unsupported(
+ "non-default ui.relative-paths",
+ ));
+ }
+
let rev = invocation.subcommand_args.value_of("rev");
let repo = invocation.repo?;
To: SimonSapin, #hg-reviewers
Cc: Alphare, marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210315/769f1d12/attachment-0002.html>
More information about the Mercurial-patches
mailing list