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

Re: New lines in notify.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 3 Mar 2019 14:17:55 +0100

On Sun, Mar 03, 2019 at 01:07:53PM +0000, Jonathan Guy wrote:
> Hi all
> Just out of curiosity in notify.c we have the two lines
> SVN_ERR(svn_cmdline_printf(pool, "\rChecking r "));
> SVN_ERR(svn_cmdline_printf(pool, "\rChecking r%ld...", n->revision));
> Is there a specific reason \r is used and not \n?

The conflict resolver uses this for reporting its progress while
scanning through history. The resolver might have to scan through
several hundreds or even thousands of revisions. Printing a newline
would make the output scroll by one line per scanned revision...
Received on 2019-03-03 14:18:22 CET

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