sync.c File Reference

Synchronize from repository - sync-repos command. More...

#include <apr_md5.h>
#include <apr_pools.h>
#include <apr_user.h>
#include <apr_file_io.h>
#include <subversion-1/svn_delta.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 "status.h"
#include "checksum.h"
#include "est_ops.h"
#include "cache.h"
#include "revert.h"
#include "props.h"
#include "commit.h"
#include "waa.h"
#include "url.h"
#include "update.h"
#include "racallback.h"
#include "helper.h"
Include dependency graph for sync.c:

Go to the source code of this file.

Functions

int sync___recurse (struct estat *cur_dir, apr_pool_t *pool)
 Get entries of directory, and fill tree.
int sync__progress (struct estat *sts)
 Repository callback.
int sync__work (struct estat *root, int argc, char *argv[])
 -.

Detailed Description

Synchronize from repository - sync-repos command.

Load the repository tree and store it as last used- so that the next commit sends all changes against this current repository state.

Definition in file sync.c.


Function Documentation

int sync___recurse ( struct estat cur_dir,
apr_pool_t *  pool 
)

Get entries of directory, and fill tree.

Most of the data should already be here; we just fill the length of the entries in.

Definition at line 102 of file sync.c.

References cb__add_entry(), url_t::current_rev, current_url, DEBUGP, DEBUGP_dump_estat(), hlp__local2utf8(), hlp__utf82local(), link_spec, ops__build_path(), ops__string_to_dev(), estat::parent, propval_updatepipe, rev__get_text_into_buffer(), url_t::session, STOPIF, STOPIF_SVNERR, url__current_has_precedence(), url__full_url(), and st___bit_info::val.

Referenced by sync__work().

Here is the call graph for this function:

Here is the caller graph for this function:

int sync__progress ( struct estat sts  ) 
int sync__work ( struct estat root,
int  argc,
char *  argv[] 
)

Generated for fsvs by  doxygen 1.6.1