url_t Struct Reference

All the data FSVS must know about an URL. More...

#include <global.h>

Data Fields

char * url
 The URL itself (http:// or svn:// or similar).
int priority
 The user-given priority; need not be unique.
int urllen
 The length of the URL, not counting the \0.
svn_revnum_t target_rev
 The revision we'd like that URL to be at - normally HEAD.
svn_revnum_t current_target_rev
 The revision the user gave for this command for this URL.
svn_revnum_t current_rev
 The revision number this URL is currently at.
svn_revnum_t head_rev
 The HEAD revision, or SVN_INVALID_REVNUM if not yet known.
char * name
 The user-given symbolic name.
int internal_number
 The number which is used in the dir-lists to reference this url_t.
unsigned count
 A count of entries using this url.
svn_ra_session_t * session
 A session connected to this URL.
apr_pool_t * pool
 The pool this session was allocated in.
int entry_list_count
 Changelist counter.
int to_be_handled:1
 Flag saying whether this URL should be done.
int current_target_override:1
 Whether the user gave a specific override revision number.
unsigned is_readonly:1
 Is a commit disallowed?

Detailed Description

All the data FSVS must know about an URL.

Definition at line 184 of file global.h.


Field Documentation

unsigned url_t::count

A count of entries using this url.

Used for determining if it's still needed.

Definition at line 212 of file global.h.

svn_revnum_t url_t::current_rev

Whether the user gave a specific override revision number.

Definition at line 226 of file global.h.

Referenced by url__iterator2(), url__mark_todo(), and url__parse().

The revision the user gave for this command for this URL.

Normally equals target_rev.

Definition at line 196 of file global.h.

Referenced by url__iterator2(), and url__mark_todo().

Changelist counter.

Definition at line 220 of file global.h.

Referenced by url__iterator2().

svn_revnum_t url_t::head_rev

The HEAD revision, or SVN_INVALID_REVNUM if not yet known.

Definition at line 200 of file global.h.

Referenced by url__canonical_rev(), and url__parse().

The number which is used in the dir-lists to reference this url_t.

Must be unique in the URL-list.

This is a different thing as the priority - the user must be able to change the priority of the URLs, without changing our internal references!

Definition at line 209 of file global.h.

Referenced by ops__save_1entry(), url___dump(), url___set_internal_nums(), url__load_list(), url__output_list(), url__parse(), and url__work().

Is a commit disallowed?

Definition at line 228 of file global.h.

Referenced by ci__work(), url___dump(), url__insert_or_replace(), url__output_list(), and url__parse().

char* url_t::name

The user-given symbolic name.

Definition at line 202 of file global.h.

Referenced by cb___remover(), log__receiver(), url___dump(), url__insert_or_replace(), url__output_list(), and url__parse().

apr_pool_t* url_t::pool

The user-given priority; need not be unique.

The lower the number, the higher the priority.

Definition at line 189 of file global.h.

Referenced by url___dump(), url__current_has_precedence(), url__insert_or_replace(), url__output_list(), url__parse(), and url__sorter().

svn_ra_session_t* url_t::session

A session connected to this URL.

Todo:
Session sharing for URLs in the same repository.

Definition at line 215 of file global.h.

Referenced by cb__record_changes_mixed(), ci__work(), exp__do(), log__work(), rev__get_props(), rev__get_text_to_stream(), sync___recurse(), url__canonical_rev(), url__close_session(), and url__open_session().

svn_revnum_t url_t::target_rev

The revision we'd like that URL to be at - normally HEAD.

Definition at line 193 of file global.h.

Referenced by exp__do(), url___dump(), url__insert_or_replace(), url__iterator2(), url__output_list(), and url__parse().

Flag saying whether this URL should be done.

Should not be queried directly, but by using url__to_be_handled().

Definition at line 224 of file global.h.

Referenced by url__mark_todo(), and url__to_be_handled().

char* url_t::url

The length of the URL, not counting the \0.

Definition at line 191 of file global.h.

Referenced by log__work(), rev__get_text_to_stream(), url__find(), url__open_session(), url__other_full_url(), and url__parse().


The documentation for this struct was generated from the following file:

Generated for fsvs by  doxygen 1.6.1