diff mercurial/rcutil.py @ 49594:88a8de821b5e stable

tests: make running ls in a no longer existing directory more portable On Linux, ls -A simply returns nothing and the exit code is 0. On NetBSD, ls -A complains that . doesn't exist and the exit code is 1. Sadly, it's not possible to do something like "[1] (?)", so " || true" is the best I could come up with.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 14 Nov 2022 19:58:44 +0400
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line diff