native::Wc(3)
β¨ NAME β¨
Okay bestie, this is native::Wc(3) β the User Contributed Perl Documentation page for SVN::Wc, aka the Subversion working copy functions. It's giving "let me poke at my working copy from Perl" energy. π
π¦ SYNOPSIS π¦
This section is literally just:
Incomplete
That's it. That's the whole synopsis. Not me being dramatic β she said what she said. π
πΈ FUNCTIONS πΈ
SVN::Wc::parse_externals_description3($parent_directory, $desc, $canonicalize_url, $pool);β Parses the string$descas an"svn:externals"value and returns a reference to an array of_p_svn_wc_external_item2_tobjects. If$canonicalize_urlis true, canonicalize the"url"member of those objects.$parent_directoryis only used in constructing error strings.
π OBJECTS π
π svn_wc_status2_t π
$wcstat->entry()β Asvn_wc_entry_tobject for the item. Can beundefif it's not under version control.$wcstat->text_status()β An integer representing the status of the item's text. Can be one of the$SVN::Wc::Status::*constants.$wcstat->prop_status()β An integer representing the status of the item's properties. Can be one of the$SVN::Wc::Status::*constants.$wcstat->locked()β A boolean telling if the item is locked. A directory can be locked if a working copy update was interrupted.$wcstat->copied()β A boolean telling if the item was copied. A file or directory can be copied if it's scheduled for addition-with-history (or part of a subtree that is scheduled as such).$wcstat->switched()β A boolean telling if the item was switched. A file or directory can be switched if the switch command has been used.$wcstat->repos_text_status()β An integer representing the status of the item's text in the repository. Can be one of the$SVN::Wc::Status::*constants.$wcstat->repos_prop_status()β An integer representing the status of the item's properties in the repository. Can be one of the$SVN::Wc::Status::*constants.$wcstat->repos_lock()β Asvn_lock_tobject representing the entry's lock in the repository, if any.$wcstat->url()β The url (actual or expected) of the item.$wcstat->ood_last_cmt_rev()β An integer representing the youngest committed revision, or$SVN::Core::INVALID_REVNUMif it's not out of date.$wcstat->ood_last_cmt_date()β The date of the most recent commit as microseconds since00:00:00 January 1, 1970 UTC, or0if not out of date.$wcstat->ood_kind()β An integer representing the kind of the youngest commit. Can be any of the$SVN::Node::*constants. Will be$SVN::Node::noneif not out of date.$wcstat->tree_conflict()β Asvn_wc_conflict_description_tobject if the entry is the victim of a tree conflict, orundef.$wcstat->file_external()β A boolean telling if the item is a file that was added to the working copy as ansvn:externals. Iffile_externalis TRUE, thenswitchedis always FALSE.$wcstat->pristine_text_status()β An integer representing the status of the item's text as compared to the pristine base of the file. Can be one of the$SVN::Wc::Status::*constants.$wcstat->pristine_prop_status()β An integer representing the status of the item's properties as compared to the pristine base of the node. Can be one of the$SVN::Wc::Status::*constants.
π¦ svn_wc_status_t π¦
Same as svn_wc_status2_t, but without the repos_lock, url, ood_last_cmt_rev, ood_last_cmt_date, ood_kind, ood_last_cmt_author, tree_conflict, file_external, pristine_text_status, and pristine_prop_status fields. She's the minimalist version. β¨
π svn_wc_entry_t π
$wcent->name()β Entry's name.$wcent->revision()β Base revision.$wcent->url()β URL in repository.$wcent->repos()β Canonical repository URL.$wcent->uuid()β Repository uuid.$wcent->kind()β The kind of node. One of the following constants:$SVN::Node::none,$SVN::Node::file,$SVN::Node::dir,$SVN::Node::unknown.$wcent->schedule()β Scheduling. One of theSVN::Wc::Schedule::*constants.$wcent->copied()β In a copied state.$wcent->deleted()β Deleted, but parent rev lags behind.$wcent->absent()β Absent -- we know an entry of this name exists, but that's all (usually this happens because of authz restrictions).$wcent->incomplete()β ForTHIS_DIRentry, implies whole entries file is incomplete.$wcent->copyfrom_url()β Copyfrom location.$wcent->copyfrom_rev()β Copyfrom revision.$wcent->conflict_old()β Old version of conflicted file.$wcent->conflict_new()β New version of conflicted file.$wcent->conflict_wrk()β Working version of conflicted file.$wcent->prejfile()β Property reject file.$wcent->text_time()β Last up-to-date time for text contents (0means no information available).$wcent->prop_time()β Last up-to-date time for properties (0means no information available).$wcent->checksum()β Base-64 encoded checksum for the untranslated text base file, can beundeffor backwards compatibility.$wcent->cmt_rev()β Last revision this was changed.$wcent->cmt_date()β Last date this was changed.$wcent->cmt_author()β Last commit author of this item.
π svn_wc_external_item2_t π
$ext->target_dir()β The name of the subdirectory into which this external should be checked out. This is relative to the parent directory that holds this external item.$ext->url()β Where to check out from. This is possibly a relative external URL, as allowed in externals definitions, but without the peg revision.$ext->revision()β What revision to check out, asvn_opt_revision_tobject. The only validkind()s for this are$SVN::Core::opt_revision_number,$SVN::Core::opt_revision_date, and$SVN::Core::opt_revision_head.$ext->peg_revision()β The peg revision to use when checking out, asvn_opt_revision_tobject. The only validkind()s for this are$SVN::Core::opt_revision_number,$SVN::Core::opt_revision_date, and$SVN::Core::opt_revision_head.
π CONSTANTS π
π₯ SVN::Wc::Notify::Action π₯
$SVN::Wc::Notify::Action::addβ Adding a path to revision control.$SVN::Wc::Notify::Action::copyβ Copying a versioned path.$SVN::Wc::Notify::Action::deleteβ Deleting a versioned path.$SVN::Wc::Notify::Action::restoreβ Restoring a missing path from the pristine text-base.$SVN::Wc::Notify::Action::revertβ Reverting a modified path.$SVN::Wc::Notify::Action::failed_revertβ A revert operation has failed.$SVN::Wc::Notify::Action::resolvedβ Resolving a conflict.$SVN::Wc::Notify::Action::skipβ Skipping a path.$SVN::Wc::Notify::Action::update_deleteβ Got a delete in an update.$SVN::Wc::Notify::Action::update_addβ Got an add in an update.$SVN::Wc::Notify::Action::update_updateβ Got any other action in an update.$SVN::Wc::Notify::Action::update_completedβ The last notification in an update (including updates of externals).$SVN::Wc::Notify::Action::update_externalβ Updating an external module.$SVN::Wc::Notify::Action::status_completedβ The last notification in a status (including status on externals).$SVN::Wc::Notify::Action::status_externalβ Running status on an external module.$SVN::Wc::Notify::Action::commit_modifiedβ Committing a modification.$SVN::Wc::Notify::Action::commit_addedβ Committing an addition.$SVN::Wc::Notify::Action::commit_deletedβ Committing a deletion.$SVN::Wc::Notify::Action::commit_replacedβ Committing a replacement.$SVN::Wc::Notify::Action::commit_postfix_txdeltaβ Transmitting post-fix text-delta data for a file.$SVN::Wc::Notify::Action::blame_revisionβ Processed a single revision's blame.
π«Ά SVN::Wc::Notify::State π«Ά
$SVN::Wc::Notify::State::unknownβ Notifier doesn't know or isn't saying.$SVN::Wc::Notify::State::unchangedβ The state did not change.$SVN::Wc::Notify::State::missingβ The item wasn't present.$SVN::Wc::Notify::State::obstructedβ An unversioned item obstructed work.$SVN::Wc::Notify::State::changedβ Pristine state was modified.$SVN::Wc::Notify::State::mergedβ Modified state had mods merged in.$SVN::Wc::Notify::State::conflictedβ Modified state got conflicting mods.
π SVN::Wc::Schedule π
$SVN::Wc::Schedule::normalβ Nothing special here.$SVN::Wc::Schedule::addβ Slated for addition.$SVN::Wc::Schedule::deleteβ Slated for deletion.$SVN::Wc::Schedule::replaceβ Slated for replacement (delete + add)
π§ SVN::Wc::Status π§
$SVN::Wc::Status::noneβ Does not exist.$SVN::Wc::Status::unversionedβ Is not a versioned node in this working copy.$SVN::Wc::Status::normalβ Exists, but uninteresting.$SVN::Wc::Status::addedβ Is scheduled for addition.$SVN::Wc::Status::missingβ Under version control but missing.$SVN::Wc::Status::deletedβ Scheduled for deletion.$SVN::Wc::Status::replacedβ Was deleted and then re-added.$SVN::Wc::Status::modifiedβ Text or props have been modified.$SVN::Wc::Status::mergedβ Local mods received repos mods.$SVN::Wc::Status::conflictedβ Local mods received conflicting mods.$SVN::Wc::Status::ignoredβ A node marked as ignored.$SVN::Wc::Status::obstructedβ An unversioned resource is in the way of the versioned resource.$SVN::Wc::Status::externalβ An unversioned path populated by an svn:externals property.$SVN::Wc::Status::incompleteβ A directory doesn't contain a complete entries list.
π COPYRIGHT π
Okay, legal bestie moment β here's the whole license bit, not skipping a single word:
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
That's the whole page, bestie. This was native::Wc(3), coming at you from perl v5.42.3 and dated 2024-11-27. Go off and parse those externals. π
β¨
π¦ where this page comes from
- nixpkgs unstable: subversion-client 1.14.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms