Checkout
Branko ─îibej
committed
on 08 Aug 12
Expand "svn --version" output with information about the running system
when --verbose is also given on the command line. Currently availabl… Show more
Expand "svn --version" output with information about the running system

when --verbose is also given on the command line. Currently available:

 - Minimal running system info on systems with uname().

 - System info and commercial release name on Windows.

* build.conf (libsvn_subr): Require kernel32.lib on Windows.

* configure.ac: Check for uname() in sys/utsname.h.

* subversion/include/svn_opt.h (svn_opt_print_help4): New, with verbose option.

 (svn_opt_print_help3): Deprecate.

* subversion/libsvn_subr/sysinfo.c, subversion/libsvn_subr/sysinfo.h: New.

* subversion/libsvn_subr/opt.h (svn_opt__print_version_info): Add "verbose".

* subversion/libsvn_subr/opt.c: Include sysinfo.h.

 (svn_opt__print_version_info): In verbose mode, print svn_sysinfo__*.

 (svn_opt_print_help4): Implement.

 (svn_opt_print_help3): Remove.

* subversion/libsvn_subr/deprecated.c

 (svn_opt_print_help3, svn_opt_print_help3): Reimplenment in terms of

  svn_opt_print_help4.

 (svn_opt_print_help): Update call to svn_opt__print_version_info.

* subversion/svn/main.c: Add --verbose option to "svn --version".

* subversion/svnlook/main.c: Add --verbose option to "svn --version".

 Use svn_opt_print_help4 instead of svn_opt_print_help3.

* subversion/svn/help-cmd.c, subversion/svnadmin/main.c,

 subversion/svndumpfilter/main.c, subversion/svnmucc/svnmucc.c,

 subversion/svnrdump/svnrdump.c, subversion/svnserve/main.c,

 subversion/svnsync/main.c, subversion/svnversion/main.c,

 tools/dev/svnraisetreeconflict/main.c,

 tools/server-side/svn-rep-sharing-stats.c:

 Use svn_opt_print_help4 instead of svn_opt_print_help3.

Show less