[PATCH] Handle svnrdump errors the svn / svnadmin / svnauthz way
From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Sun, 18 Aug 2013 04:27:40 +0400
Hi,
Currently the svnrdump command line tool does something quite different compared
- Inconsistently uses (svn_cmdline_handle_exit_error) and SVNRDUMP_ERR,
- Sometimes destroys the top-level pool and sometimes does not destroy it, e.g.:
- Prefixes every possible exit path with the svn_pool_destroy call instead of
- Inconsistently uses SVN_INT_ERR instead of SVNRDUMP_ERR in one place:
We can avoid all these inconsistencies by utilizing the (main / submain /
See the attached patch.
Another thing is worth mentioning here. This patch prevents svnrdump from
[1]: https://groups.google.com/d/msg/serf-dev/gOn9HTUN98U/pz0_AqdrmJYJ
Thanks and regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.