diff hgext/phabricator.py @ 49773:13c0e3b4fd35 stable

tests: use `test -f` instead of `ls` to see if a file is present (issue6662) ls's exit code when file doesn't exist is 2 on Linux and 1 on NetBSD, so let's use something that's supposedly more portable, since we only care whether the file is there or not.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 05 Dec 2022 19:37:12 +0400
parents 642e31cb55f0
children de9ffb82ef4d
line wrap: on
line diff