[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Increasing verbosity and feedback on svn commit

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 28 Jan 2009 11:54:31 -0600

On Jan 28, 2009, at 09:35, Filipe Brandenburger wrote:

> I just migrated a huge repository from CVS to Subversion using
> cvs2svn.

[snip]

> The only thing I hear complains about is that Subversion is not
> very verbose in some cases. For instance, sometimes commits are
> very long (5 minutes), but Subversion does not tell what it is
> doing and I did not find any command line switch, config file
> option or environment variable that could do that. It only shows
> "dots", but even then, after it finishes printing the dots it
> sometimes spends a long time doing something, but there is no
> feedback on whether it is going forward or hung.
>
> Is there any way to configure Subversion to give more feedback on
> these operations? Like printing the name of files/directories it is
> traversing? And after it stops printing the dots, what exactly is
> it doing? Is there any way to be able to see the progress in order
> to see that it is not stuck?

True, Subversion isn't as verbose during commit as perhaps it could be.

As I understand it, first Subversion scans the working copy to see
what files will be committed, and as it finds them, it prints their
paths. Then, for each file, it transmits the changes to the server;
for each file, a dot is printed. Finally, the server must write a
transaction with those files and run the hook scripts; no feedback
appears on the client during this part. If you have hook scripts
installed on the server, for example to send out an email after every
commit, the client is probably waiting for that hook script to
complete. If so, there are ways to make it faster, for example you
can launch the post-commit hook scripts in the background so that the
client does not wait for their response (since by post-commit time
the client can't influence anything anyway).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1063810

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-28 19:10:49 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.