5 use SVN
::Base
qw(Wc svn_wc_);
10 SVN::Wc - Subversion working copy functions
20 swig_init_asp_dot_net_hack
($SVN::Core
::gpool
);
24 =head2 svn_wc_status_t
28 =item $wcstat-E<gt>entry()
30 A svn_wc_entry_t object for the item. Can be undef if not under version
33 =item $wcstat-E<gt>text_status()
35 An integer representing the status of the item's text. Can be one of the
36 $SVN::Wc::Status::* constants.
38 =item $wcstat-E<gt>prop_status()
40 An integer representing the status of the item's properties. Can be one of the
41 $SVN::Wc::Status::* constants.
43 =item $wcstat-E<gt>locked()
45 A boolean telling if the item is locked. A directory can be locked if a
46 working copy update was interrupted.
48 =item $wcstat-E<gt>copied()
50 A boolean telling if the item was copied. A file or directory can be copied if
51 it's scheduled for addition-with-history (or part of a subtree that is
54 =item $wcstat-E<gt>switched()
56 A boolean telling if the item was switched. A file or directory can be
57 switched if the switch command has been used.
59 =item $wcstat-E<gt>repos_text_status()
61 An integer representing the status of the item's text in the repository. Can
62 be one of the $SVN::Wc::Status::* constants.
65 =item $wcstat-E<gt>repos_prop_status()
67 An integer representing the status of the item's properties in the repository.
68 Can be one of the $SVN::Wc::Status::* constants.
74 package _p_svn_wc_status_t
;
75 use SVN
::Base
qw(Wc svn_wc_status_t_);
81 =item $wcent-E<gt>name()
85 =item $wcent-E<gt>revision()
89 =item $wcent-E<gt>url()
93 =item $wcent-E<gt>repos()
95 Canonical repository URL.
97 =item $wcent-E<gt>uuid()
101 =item $wcent-E<gt>kind()
103 The kind of node. One of the following constants:
104 $SVN::Node::none, $SVN::Node::file,
105 $SVN::Node::dir, $SVN::Node::unknown.
107 =item $wcent-E<gt>schedule()
109 Scheduling. One of the SVN::Wc::Schedule::* constants.
111 =item $wcent-E<gt>copied()
115 =item $wcent-E<gt>deleted()
117 Deleted, but parent rev lags behind.
119 =item $wcent-E<gt>absent()
121 Absent -- we know an entry of this name exists, but that's all (usually this
122 happens because of authz restrictions)
124 =item $wcent-E<gt>incomplete()
126 For THIS_DIR entry, implies whole entries file is incomplete.
128 =item $wcent-E<gt>copyfrom_url()
132 =item $wcent-E<gt>copyfrom_rev()
136 =item $wcent-E<gt>conflict_old()
138 Old version of conflicted file.
140 =item $wcent-E<gt>conflict_new()
142 New version of conflicted file.
144 =item $wcent-E<gt>conflict_wrk()
146 Working version of conflicted file.
148 =item $wcent-E<gt>prejfile()
150 Property reject file.
152 =item $wcent-E<gt>text_time()
154 Last up-to-date time for text contents (0 means no information available).
156 =item $wcent-E<gt>prop_time()
158 Last up-to-date time for properties (0 means no information available).
160 =item $wcent-E<gt>checksum()
162 Base-64 encoded checksum for the untranslated text base file, can be undef for
163 backwards compatibility.
165 =item $wcent-E<gt>cmt_rev()
167 Last revision this was changed.
169 =item $wcent-E<gt>cmt_date()
171 Last date this was changed.
173 =item $wcent-E<gt>cmt_author()
175 Last commit author of this item.
181 package _p_svn_wc_entry_t
;
182 # still need to check if the function prototype allows it to be called
184 use SVN
::Base
qw(Wc svn_wc_entry_t_);
188 =head2 SVN::Wc::Notify::Action
192 =item $SVN::Wc::Notify::Action::add
194 Adding a path to revision control.
196 =item $SVN::Wc::Notify::Action::copy
198 Copying a versioned path.
200 =item $SVN::Wc::Notify::Action::delete
202 Deleting a versioned path.
204 =item $SVN::Wc::Notify::Action::restore
206 Restoring a missing path from the pristine text-base.
208 =item $SVN::Wc::Notify::Action::revert
210 Reverting a modified path.
212 =item $SVN::Wc::Notify::Action::failed_revert
214 A revert operation has failed.
216 =item $SVN::Wc::Notify::Action::resolved
218 Resolving a conflict.
220 =item $SVN::Wc::Notify::Action::skip
224 =item $SVN::Wc::Notify::Action::update_delete
226 Got a delete in an update.
228 =item $SVN::Wc::Notify::Action::update_add
230 Got an add in an update.
232 =item $SVN::Wc::Notify::Action::update_update
234 Got any other action in an update.
236 =item $SVN::Wc::Notify::Action::update_completed
238 The last notification in an update (including updates of externals).
240 =item $SVN::Wc::Notify::Action::update_external
242 Updating an external module.
244 =item $SVN::Wc::Notify::Action::status_completed
246 The last notification in a status (including status on externals).
248 =item $SVN::Wc::Notify::Action::status_external
250 Running status on an external module.
252 =item $SVN::Wc::Notify::Action::commit_modified
254 Committing a modification.
256 =item $SVN::Wc::Notify::Action::commit_added
258 Committing an addition.
260 =item $SVN::Wc::Notify::Action::commit_deleted
262 Committing a deletion.
264 =item $SVN::Wc::Notify::Action::commit_replaced
266 Committing a replacement.
268 =item $SVN::Wc::Notify::Action::commit_postfix_txdelta
270 Transmitting post-fix text-delta data for a file.
272 =item $SVN::Wc::Notify::Action::blame_revision
274 Processed a single revision's blame.
280 # no reasonable prefix for these enums
281 # so we have to do them one by one to import.
282 package SVN
::Wc
::Notify
::Action
;
283 our $add = $SVN::Wc
::notify_add
;
284 our $copy = $SVN::Wc
::notify_copy
;
285 our $delete = $SVN::Wc
::notify_delete
;
286 our $restore = $SVN::Wc
::notify_restore
;
287 our $revert = $SVN::Wc
::notify_revert
;
288 our $failed_revert = $SVN::Wc
::notify_failed_revert
;
289 our $resolved = $SVN::Wc
::notify_resolved
;
290 our $skip = $SVN::Wc
::notify_skip
;
291 our $update_delete = $SVN::Wc
::notify_update_delete
;
292 our $update_add = $SVN::Wc
::notify_update_add
;
293 our $update_update = $SVN::Wc
::notify_update_update
;
294 our $update_completed = $SVN::Wc
::notify_update_completed
;
295 our $update_external = $SVN::Wc
::notify_update_external
;
296 our $status_completed = $SVN::Wc
::notify_status_completed
;
297 our $status_external = $SVN::Wc
::notify_status_external
;
298 our $commit_modified = $SVN::Wc
::notify_commit_modified
;
299 our $commit_added = $SVN::Wc
::notify_commit_added
;
300 our $commit_deleted = $SVN::Wc
::notify_commit_deleted
;
301 our $commit_replaced = $SVN::Wc
::notify_commit_replaced
;
302 our $commit_postfix_txdelta = $SVN::Wc
::notify_commit_postfix_txdelta
;
303 our $blame_revision = $SVN::Wc
::notify_blame_revision
;
305 =head2 SVN::Wc::Notify::State
309 =item $SVN::Wc::Notify::State::unknown
311 Notifier doesn't know or isn't saying.
313 =item $SVN::Wc::Notify::State::unchanged
315 The state did not change.
317 =item $SVN::Wc::Notify::State::missing
319 The item wasn't present.
321 =item $SVN::Wc::Notify::State::obstructed
323 An unversioned item obstructed work.
325 =item $SVN::Wc::Notify::State::changed
327 Pristine state was modified.
329 =item $SVN::Wc::Notify::State::merged
331 Modified state had mods merged in.
333 =item $SVN::Wc::Notify::State::conflicted
335 Modified state got conflicting mods.
341 package SVN
::Wc
::Notify
::State
;
342 use SVN
::Base
qw(Wc svn_wc_notify_state_);
344 =head2 SVN::Wc::Schedule
348 =item $SVN::Wc::Schedule::normal
350 Nothing special here.
352 =item $SVN::Wc::Schedule::add
356 =item $SVN::Wc::Schedule::delete
360 =item $SVN::Wc::Schedule::replace
362 Slated for replacement (delete + add)
368 package SVN
::Wc
::Schedule
;
369 use SVN
::Base
qw(Wc svn_wc_schedule_);
371 =head2 SVN::Wc::Status
375 =item $SVN::Wc::Status::none
379 =item $SVN::Wc::Status::unversioned
381 Is not a versioned node in this working copy.
383 =item $SVN::Wc::Status::normal
385 Exists, but uninteresting.
387 =item $SVN::Wc::Status::added
389 Is scheduled for addition.
391 =item $SVN::Wc::Status::missing
393 Under version control but missing.
395 =item $SVN::Wc::Status::deleted
397 Scheduled for deletion.
399 =item $SVN::Wc::Status::replaced
401 Was deleted and then re-added.
403 =item $SVN::Wc::Status::modified
405 Text or props have been modified.
407 =item $SVN::Wc::Status::merged
409 Local mods received repos mods.
411 =item $SVN::Wc::Status::conflicted
413 Local mods received conflicting mods.
415 =item $SVN::Wc::Status::ignored
417 A node marked as ignored.
419 =item $SVN::Wc::Status::obstructed
421 An unversioned resource is in the way of the versioned resource.
423 =item $SVN::Wc::Status::external
425 An unversioned path populated by an svn:externals property.
427 =item $SVN::Wc::Status::incomplete
429 A directory doesn't contain a complete entries list.
435 package SVN
::Wc
::Status
;
436 use SVN
::Base
qw(Wc svn_wc_status_);