use strict;
use warnings;
package SVN::Wc;
use SVN::Base qw(Wc svn_wc_);
use SVN::Core;
=head1 NAME
SVN::Wc - Subversion working copy functions
=head1 SYNOPSIS
Incomplete
=head1 OBJECTS
=cut
swig_init_asp_dot_net_hack($SVN::Core::gpool);
package _p_svn_wc_t;
=head2 svn_wc_status_t
=over 4
=item $wcstat-E<gt>entry()
A svn_wc_entry_t object for the item. Can be undef if not under version
control.
=item $wcstat-E<gt>text_status()
An integer representing the status of the item's text. Can be one of the
$SVN::Wc::Status::* constants.
=item $wcstat-E<gt>prop_status()
An integer representing the status of the item's properties. Can be one of the
$SVN::Wc::Status::* constants.
=item $wcstat-E<gt>locked()
A boolean telling if the item is locked. A directory can be locked if a
working copy update was interrupted.
=item $wcstat-E<gt>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).
=item $wcstat-E<gt>switched()
A boolean telling if the item was switched. A file or directory can be
switched if the switch command has been used.
=item $wcstat-E<gt>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.
=item $wcstat-E<gt>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.
=back
=cut
package _p_svn_wc_status_t;
use SVN::Base qw(Wc svn_wc_status_t_);
=head2 svn_wc_entry_t
=over 4
=item $wcent-E<gt>name()
Entry's name.
=item $wcent-E<gt>revision()
Base revision.
=item $wcent-E<gt>url()
URL in repository.
=item $wcent-E<gt>repos()
Canonical repository URL.
=item $wcent-E<gt>uuid()
Repository uuid.
=item $wcent-E<gt>kind()
The kind of node. One of the following constants:
$SVN::Node::none, $SVN::Node::file,
$SVN::Node::dir, $SVN::Node::unknown.
=item $wcent-E<gt>schedule()
Scheduling. One of the SVN::Wc::Schedule::* constants.
=item $wcent-E<gt>copied()
In a copied state.
=item $wcent-E<gt>deleted()
Deleted, but parent rev lags behind.
=item $wcent-E<gt>absent()
Absent -- we know an entry of this name exists, but that's all (usually this
happens because of authz restrictions)
=item $wcent-E<gt>incomplete()
For THIS_DIR entry, implies whole entries file is incomplete.
=item $wcent-E<gt>copyfrom_url()
Copyfrom location.
=item $wcent-E<gt>copyfrom_rev()
Copyfrom revision.
=item $wcent-E<gt>conflict_old()
Old version of conflicted file.
=item $wcent-E<gt>conflict_new()
New version of conflicted file.
=item $wcent-E<gt>conflict_wrk()
Working version of conflicted file.
=item $wcent-E<gt>prejfile()
Property reject file.
=item $wcent-E<gt>text_time()
Last up-to-date time for text contents (0 means no information available).
=item $wcent-E<gt>prop_time()
Last up-to-date time for properties (0 means no information available).
=item $wcent-E<gt>checksum()
Base-64 encoded checksum for the untranslated text base file, can be undef for
backwards compatibility.
=item $wcent-E<gt>cmt_rev()
Last revision this was changed.
=item $wcent-E<gt>cmt_date()
Last date this was changed.
=item $wcent-E<gt>cmt_author()
Last commit author of this item.
=back
=cut
package _p_svn_wc_entry_t;
# still need to check if the function prototype allows it to be called
# as method.
use SVN::Base qw(Wc svn_wc_entry_t_);
=head1 CONSTANTS
=head2 SVN::Wc::Notify::Action
=over 4
=item $SVN::Wc::Notify::Action::add
Adding a path to revision control.
=item $SVN::Wc::Notify::Action::copy
Copying a versioned path.
=item $SVN::Wc::Notify::Action::delete
Deleting a versioned path.
=item $SVN::Wc::Notify::Action::restore
Restoring a missing path from the pristine text-base.
=item $SVN::Wc::Notify::Action::revert
Reverting a modified path.
=item $SVN::Wc::Notify::Action::failed_revert
A revert operation has failed.
=item $SVN::Wc::Notify::Action::resolved
Resolving a conflict.
=item $SVN::Wc::Notify::Action::skip
Skipping a path.
=item $SVN::Wc::Notify::Action::update_delete
Got a delete in an update.
=item $SVN::Wc::Notify::Action::update_add
Got an add in an update.
=item $SVN::Wc::Notify::Action::update_update
Got any other action in an update.
=item $SVN::Wc::Notify::Action::update_completed
The last notification in an update (including updates of externals).
=item $SVN::Wc::Notify::Action::update_external
Updating an external module.
=item $SVN::Wc::Notify::Action::status_completed
The last notification in a status (including status on externals).
=item $SVN::Wc::Notify::Action::status_external
Running status on an external module.
=item $SVN::Wc::Notify::Action::commit_modified
Committing a modification.
=item $SVN::Wc::Notify::Action::commit_added
Committing an addition.
=item $SVN::Wc::Notify::Action::commit_deleted
Committing a deletion.
=item $SVN::Wc::Notify::Action::commit_replaced
Committing a replacement.
=item $SVN::Wc::Notify::Action::commit_postfix_txdelta
Transmitting post-fix text-delta data for a file.
=item $SVN::Wc::Notify::Action::blame_revision
Processed a single revision's blame.
=back
=cut
# no reasonable prefix for these enums
# so we have to do them one by one to import.
package SVN::Wc::Notify::Action;
our $add = $SVN::Wc::notify_add;
our $copy = $SVN::Wc::notify_copy;
our $delete = $SVN::Wc::notify_delete;
our $restore = $SVN::Wc::notify_restore;
our $revert = $SVN::Wc::notify_revert;
our $failed_revert = $SVN::Wc::notify_failed_revert;
our $resolved = $SVN::Wc::notify_resolved;
our $skip = $SVN::Wc::notify_skip;
our $update_delete = $SVN::Wc::notify_update_delete;
our $update_add = $SVN::Wc::notify_update_add;
our $update_update = $SVN::Wc::notify_update_update;
our $update_completed = $SVN::Wc::notify_update_completed;
our $update_external = $SVN::Wc::notify_update_external;
our $status_completed = $SVN::Wc::notify_status_completed;
our $status_external = $SVN::Wc::notify_status_external;
our $commit_modified = $SVN::Wc::notify_commit_modified;
our $commit_added = $SVN::Wc::notify_commit_added;
our $commit_deleted = $SVN::Wc::notify_commit_deleted;
our $commit_replaced = $SVN::Wc::notify_commit_replaced;
our $commit_postfix_txdelta = $SVN::Wc::notify_commit_postfix_txdelta;
our $blame_revision = $SVN::Wc::notify_blame_revision;
=head2 SVN::Wc::Notify::State
=over 4
=item $SVN::Wc::Notify::State::unknown
Notifier doesn't know or isn't saying.
=item $SVN::Wc::Notify::State::unchanged
The state did not change.
=item $SVN::Wc::Notify::State::missing
The item wasn't present.
=item $SVN::Wc::Notify::State::obstructed
An unversioned item obstructed work.
=item $SVN::Wc::Notify::State::changed
Pristine state was modified.
=item $SVN::Wc::Notify::State::merged
Modified state had mods merged in.
=item $SVN::Wc::Notify::State::conflicted
Modified state got conflicting mods.
=back
=cut
package SVN::Wc::Notify::State;
use SVN::Base qw(Wc svn_wc_notify_state_);
=head2 SVN::Wc::Schedule
=over 4
=item $SVN::Wc::Schedule::normal
Nothing special here.
=item $SVN::Wc::Schedule::add
Slated for addition.
=item $SVN::Wc::Schedule::delete
Slated for deletion.
=item $SVN::Wc::Schedule::replace
Slated for replacement (delete + add)
=back
=cut
package SVN::Wc::Schedule;
use SVN::Base qw(Wc svn_wc_schedule_);
=head2 SVN::Wc::Status
=over 4
=item $SVN::Wc::Status::none
Does not exist.
=item $SVN::Wc::Status::unversioned
Is not a versioned node in this working copy.
=item $SVN::Wc::Status::normal
Exists, but uninteresting.
=item $SVN::Wc::Status::added
Is scheduled for addition.
=item $SVN::Wc::Status::missing
Under version control but missing.
=item $SVN::Wc::Status::deleted
Scheduled for deletion.
=item $SVN::Wc::Status::replaced
Was deleted and then re-added.
=item $SVN::Wc::Status::modified
Text or props have been modified.
=item $SVN::Wc::Status::merged
Local mods received repos mods.
=item $SVN::Wc::Status::conflicted
Local mods received conflicting mods.
=item $SVN::Wc::Status::ignored
A node marked as ignored.
=item $SVN::Wc::Status::obstructed
An unversioned resource is in the way of the versioned resource.
=item $SVN::Wc::Status::external
An unversioned path populated by an svn:externals property.
=item $SVN::Wc::Status::incomplete
A directory doesn't contain a complete entries list.
=back
=cut
package SVN::Wc::Status;
use SVN::Base qw(Wc svn_wc_status_);
1;
syntax highlighted by Code2HTML, v. 0.9.1