Package org.tmatesoft.svn.core.internal.wc17.db
package org.tmatesoft.svn.core.internal.wc17.db
-
ClassDescriptionWorking copy administrative database layer.Enum indicating what kind of versioned object we're talking about.Lock information.Enumerated constants for how to open a WC datastore.Enumerated values describing the state of a node.SELECT wc_id, ?3 (local_relpath), ?4 (op_depth), ?5 (parent_relpath), repos_id, repos_path, revision, ?6 (presence), depth, kind, changed_revision, changed_date, changed_author, checksum, properties, translated_size, last_mod_time, symlink_target FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0 ORDER BY op_depth DESC LIMIT 1 or for base: FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0This structure records all the information that we need to deal with a given working copy directory.INSERT OR REPLACE INTO externals ( wc_id, local_relpath, parent_relpath, presence, kind, def_local_relpath, repos_id, def_repos_relpath, def_operational_revision, def_revision) VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10)UPDATE nodes SET repos_id = ?4, dav_cache = NULL WHERE wc_id = ?1 AND repos_id = ?3 AND (?2 = '' OR local_relpath = ?2 OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))UPDATE lock SET repos_id = ?2 WHERE repos_id = ?1