svn commit: r1933104 - subversion/trunk/subversion/svnbrowse

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <177634003339.3393215.9311620265216992401@svn03-he-fi>
Author: rinrab
Date: Thu Apr 16 11:47:13 2026
New Revision: 1933104

Log:
svnbrowse: Default the target to the current directory when invoked with no
arguments by adding an extra "dot" target to the according array.

* subversion/svnbrowse/svnbrowse.c
  (sub_main): Call svn_opt_push_implicit_dot_target() for targets.

Modified:
   subversion/trunk/subversion/svnbrowse/svnbrowse.c

Modified: subversion/trunk/subversion/svnbrowse/svnbrowse.c
==============================================================================
--- subversion/trunk/subversion/svnbrowse/svnbrowse.c	Thu Apr 16 11:42:35 2026	(r1933103)
+++ subversion/trunk/subversion/svnbrowse/svnbrowse.c	Thu Apr 16 11:47:13 2026	(r1933104)
@@ -581,6 +581,7 @@ sub_main(int *code, int argc, const char
 
   SVN_ERR(svn_client_args_to_target_array2(&targets, os, NULL, client, FALSE,
                                            pool));
+  svn_opt_push_implicit_dot_target(targets, pool);
 
   /* we must fail if there are extra arguments */
   if (targets->nelts != 1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.