add_unvers.c File Reference

add and unversion action. More...

#include <fcntl.h>
#include "global.h"
#include "add_unvers.h"
#include "status.h"
#include "ignore.h"
#include "warnings.h"
#include "est_ops.h"
#include "url.h"
#include "helper.h"
#include "waa.h"

Include dependency graph for add_unvers.c:

Go to the source code of this file.

Functions

int au__action (struct estat *sts)
 General function for add and unversion actions.
int au__prepare_for_added (void)
 -.
int au__work (struct estat *root, int argc, char *argv[])
 -.


Detailed Description

add and unversion action.

Definition in file add_unvers.c.


Function Documentation

int au__action ( struct estat sts  ) 

General function for add and unversion actions.

This one really handles the entries.

Definition at line 151 of file add_unvers.c.

References action, BUG_ON, current_url, DEBUGP, estat::flags, actionlist_t::i_val, ign__is_ignore(), ops__apply_group(), ops__delete_entry(), estat::parent, estat::repos_rev, RF_ADD, RF_UNVERSION, st__status, STOPIF, estat::to_be_ignored, UNKNOWN_INDEX, and estat::url.

Here is the call graph for this function:

int au__prepare_for_added ( void   ) 

-.

In case we need to handle new entries we might have to assign an URL to them.

Definition at line 215 of file add_unvers.c.

References current_url, DEBUGP, ign__load_list(), STOPIF, STOPIF_CODE_ERR, url_t::url, url__find_by_name(), url__load_list(), url__mark_todo(), url__parm_list, and url__parm_list_used.

Referenced by au__work(), and prp__s_work().

Here is the call graph for this function:

Here is the caller graph for this function:

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

-.

Definition at line 243 of file add_unvers.c.

References au__prepare_for_added(), opt_recursive, STOPIF, waa__find_common_base(), waa__output_tree(), and waa__read_or_build_tree().

Here is the call graph for this function:


Generated for fsvs by  doxygen 1.5.9