You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2015/09/17 21:44:55 UTC
svn commit: r1703675 - /subversion/trunk/subversion/svnadmin/svnadmin.c
Author: philip
Date: Thu Sep 17 19:44:55 2015
New Revision: 1703675
URL: http://svn.apache.org/viewvc?rev=1703675&view=rev
Log:
An upgrade that packs revprops invokes just one notification per
shard so each console message should include a newline.
Before this patch the output was:
$ svnadmin upgrade repo
Repository lock acquired.
Please wait; upgrading the repository may take some time...
Packing revision properties in shard 0...Packing revision properties in shard 1...Bumped repository format to 7
Removing non-packed revision properties in shard 0...Removing non-packed revision properties in shard 1...
Upgrade completed.
With this patch the output is:
$ svnadmin upgrade repo
Repository lock acquired.
Please wait; upgrading the repository may take some time...
Packed revision properties in shard 0
Packed revision properties in shard 1
Bumped repository format to 7
Removed non-packed revision properties in shard 0
Removed non-packed revision properties in shard 1
* subversion/svnadmin/svnadmin.c
(repos_notify_handler): Tweak messages.
Modified:
subversion/trunk/subversion/svnadmin/svnadmin.c
Modified: subversion/trunk/subversion/svnadmin/svnadmin.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnadmin/svnadmin.c?rev=1703675&r1=1703674&r2=1703675&view=diff
==============================================================================
--- subversion/trunk/subversion/svnadmin/svnadmin.c (original)
+++ subversion/trunk/subversion/svnadmin/svnadmin.c Thu Sep 17 19:44:55 2015
@@ -1109,8 +1109,7 @@ repos_notify_handler(void *baton,
"%" APR_INT64_T_FMT,
notify->shard);
svn_error_clear(svn_stream_printf(feedback_stream, scratch_pool,
- _("Packing revision properties"
- " in shard %s..."),
+ _("Packed revision properties in shard %s\n"),
shardstr));
return;
}
@@ -1121,8 +1120,8 @@ repos_notify_handler(void *baton,
"%" APR_INT64_T_FMT,
notify->shard);
svn_error_clear(svn_stream_printf(feedback_stream, scratch_pool,
- _("Removing non-packed revision properties"
- " in shard %s..."),
+ _("Removed non-packed revision properties"
+ " in shard %s\n"),
shardstr));
return;
}