comparison mercurial/graphmod.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 d44e3c45f0e4
children 493034cc3265
comparison
equal deleted inserted replaced
49593:e11760daee12 49594:88a8de821b5e