Hi, On 2024-09-25 11:58:43 +0900, Yasuhito FUTATSUKI wrote: > On 2024/09/25 9:17, Vincent Lefevre wrote: > > > Checking the error message might not be future-proof. > > Then, check the error code instead.
It might not be future-proof either. For instance, there has been a change in 1.7, as noted there: https://subversion.apache.org/docs/api/1.8/svn__error__codes_8h.html#ac8784565366c15a28d456c4997963660a46befa5b8c1fb5204fdc3921c3124b97 I suppose that if the error message changes, there is a high risk that the error code might change too, like above. > e.g. with Python bindings: [...] For portability, it needs to be a shell script (BTW, I've seen more breakage due to Python upgrades than anything else, so that Python is definitely not a good solution). With the shell command, there is the error code "E155007". So I'm wondering what is the most stable. I could not find any documentation on the subject. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)