log.c File Reference

Fetch log information from repository - log command. More...

#include <apr_pools.h>
#include <subversion-1/svn_ra.h>
#include <subversion-1/svn_error.h>
#include <subversion-1/svn_string.h>
#include <subversion-1/svn_time.h>
#include <sys/types.h>
#include <unistd.h>
#include <ctype.h>
#include <time.h>
#include <fcntl.h>
#include "global.h"
#include "est_ops.h"
#include "waa.h"
#include "url.h"
#include "options.h"
#include "log.h"
#include "update.h"
#include "racallback.h"
#include "helper.h"

Include dependency graph for log.c:

Go to the source code of this file.


#define MAX_LOG_OUTPUT_LINE   (1024)


int log___divider (FILE *output, char *color_after)
svn_error_t * log__receiver (void *baton, apr_hash_t *changed_paths, svn_revnum_t revision, const char *author, const char *date, const char *message, apr_pool_t *pool)
 The callback function for log messages.
int log__work (struct estat *root, int argc, char *argv[])

Detailed Description

Fetch log information from repository - log command.

Definition in file log.c.

Define Documentation

#define MAX_LOG_OUTPUT_LINE   (1024)

Definition at line 69 of file log.c.

Referenced by log__receiver().

Function Documentation

int log___divider ( FILE *  output,
char *  color_after 

Definition at line 74 of file log.c.


Referenced by log__receiver(), and log__work().

Here is the caller graph for this function:

svn_error_t* log__receiver ( void *  baton,
apr_hash_t *  changed_paths,
svn_revnum_t  revision,
const char *  author,
const char *  date,
const char *  message,
apr_pool_t *  pool 

The callback function for log messages.

The header and message body are printed in normal subversion format, possibly with indenting and/or colorizing. The filehandle for output must be given as baton.

The various strings are (?) in UTF-8, so we have to convert them.

Definition at line 92 of file log.c.

References ANSI__GREEN, ANSI__NORMAL, BUG_ON, DEBUGP, hlp__alloc(), hlp__compare_string_pointers(), hlp__strdup(), hlp__utf82local(), log___divider(), LOG__OPT_COLOR, LOG__OPT_INDENT, MAX_LOG_OUTPUT_LINE, url_t::name, OPT__LOG_OUTPUT, RETURN_SVNERR, STOPIF, STOPIF_CODE_EPIPE, and STOPIF_CODE_ERR.

Referenced by log__work().

Here is the call graph for this function:

Here is the caller graph for this function:

int log__work ( struct estat root,
int  argc,
char *  argv[] 

Generated for fsvs by  doxygen 1.5.9