You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tobias Ringström <to...@ringstrom.mine.nu> on 2004/06/24 20:20:12 UTC
[PATCH] Make svnadmin less verbose by default and add a --verbose
flag
Any objections to the attached patch? It makes "svnadmin load" print
one line per commit by default. You can still get the old behaviour by
using the --verbose (or -v) flag.
/Tobias
[[[
Make svnadmin load less verbose by default and add a --verbose flag.
* subversion/svnadmin/main.c
(options_table): Add a verbose option.
(cmd_table): Make load accept the verbose option.
(svnadmin_opt_state): Add a verbose member.
(subcommand_load): Use svn_repos_load_fs2 and the verbose flag.
(main): Accept the verbose option.
* subversion/include/svn_repos.h
(svn_repos_load_fs2): Like svn_repos_load_fs but with a verbose argument.
(svn_repos_load_fs): Depricate.
(svn_repos_get_fs_build_parser2): Add a verbose argument.
* subversion/libsvn_repos/load.c
(parse_baton): Add a verbose member.
(maybe_add_with_history, new_node_record, close_node, close_revision):
Only print progress when verbose.
(svn_repos_get_fs_build_parser2): Set the verbose member in the baton.
(svn_repos_get_fs_build_parser): Set the verbose member the baton to TRUE.
(svn_repos_load_fs2): Like svn_repos_load_fs but with a verbose argument.
(svn_repos_load_fs): Call svn_repos_load_fs2 with verbose set to TRUE.
]]]
Re: [PATCH] Make svnadmin less verbose by default and add a --verbose
flag
Posted by Julian Foad <ju...@btopenworld.com>.
Tobias Ringström wrote:
> Julian Foad wrote:
>
>> I was looking through old mail and found this patch from you with no
>> reply.
>>
>> Tobias Ringström wrote:
>>
>>> Any objections to the attached patch? It makes "svnadmin load" print
>>> one line per commit by default. You can still get the old behaviour
>>> by using the --verbose (or -v) flag.
>>
>> That sounds to me like a good idea. Please send it again and
>> hopefully somebody will review it this time.
>
> Thanks, Julian. It was actually committed (r10091), but had to be
> reverted (r10099) because I forgot to update the test suite. It was not
> fixed and recommitted because Karl felt that it could be viewed as an
> API violation to change the output format of svnadmin load, and he used
> the fact that our own test suite broke as an example.
Oh - sorry about that. I've just come back to the project after the summer and have scanned the mailing list but not the commit logs so I didn't see that anything had happened to it. Thanks for the explanation.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] Make svnadmin less verbose by default and add a --verbose
flag
Posted by Tobias Ringström <to...@ringstrom.mine.nu>.
Julian Foad wrote:
> I was looking through old mail and found this patch from you with no
> reply.
>
> Tobias Ringström wrote:
>
>> Any objections to the attached patch? It makes "svnadmin load" print
>> one line per commit by default. You can still get the old behaviour
>> by using the --verbose (or -v) flag.
>
> That sounds to me like a good idea. Please send it again and
> hopefully somebody will review it this time.
Thanks, Julian. It was actually committed (r10091), but had to be
reverted (r10099) because I forgot to update the test suite. It was not
fixed and recommitted because Karl felt that it could be viewed as an
API violation to change the output format of svnadmin load, and he used
the fact that our own test suite broke as an example.
/Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] Make svnadmin less verbose by default and add a --verbose
flag
Posted by Julian Foad <ju...@btopenworld.com>.
I was looking through old mail and found this patch from you with no reply.
Tobias Ringström wrote:
> Any objections to the attached patch? It makes "svnadmin load" print
> one line per commit by default. You can still get the old behaviour by
> using the --verbose (or -v) flag.
That sounds to me like a good idea. Please send it again and hopefully somebody will review it this time.
> (svn_repos_load_fs): Depricate.
"Deprecate"
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org