Mercurial > hg
comparison mercurial/mail.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 | 1d6c6ad645e1 |
children | 1c7453f2bb57 |
comparison
equal
deleted
inserted
replaced
49593:e11760daee12 | 49594:88a8de821b5e |
---|