diff tests/test-uncommit.t @ 52095:31076a2301f1

py-3-13: stabilize the docstring output across all supported Python versions Python 3.13 now trims indents from docstrings at compilation time (to save space in .pyc), so all of our helptext is affected. The indentation has never served a user-facing purpose and was more here because nobody cared enough to remove it: we gain some screen space this way. Rather than undo the transformation (which isn't really possible since the transform also deletes leading/trailing whitespace), we align the behavior of older Python versions with that of 3.13. Unfortunately, this means breaking some of the translations. I've only touched the ones that need to work for some tooling tests to pass, but I do not have the time to fix the rest of them across all languages, since they cannot be done in an automated way. i18n updates have been basically abandonned for a good while now, hopefully someone cares enough to bring them back.
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 24 Oct 2024 15:23:52 +0200
parents c4dbbaecaad3
children b5efb7a7d2a5
line wrap: on
line diff
--- a/tests/test-uncommit.t	Tue Oct 15 22:30:10 2024 -0400
+++ b/tests/test-uncommit.t	Thu Oct 24 15:23:52 2024 +0200
@@ -22,13 +22,12 @@
   
   uncommit part or all of a local changeset
   
-      This command undoes the effect of a local commit, returning the affected
-      files to their uncommitted state. This means that files modified or
-      deleted in the changeset will be left unchanged, and so will remain
-      modified in the working directory.
+  This command undoes the effect of a local commit, returning the affected files
+  to their uncommitted state. This means that files modified or deleted in the
+  changeset will be left unchanged, and so will remain modified in the working
+  directory.
   
-      If no files are specified, the commit will be pruned, unless --keep is
-      given.
+  If no files are specified, the commit will be pruned, unless --keep is given.
   
   (use 'hg help -e uncommit' to show help for the uncommit extension)