1SVK::Path(3)          User Contributed Perl Documentation         SVK::Path(3)
2
3
4

NAME

6       SVK::Path - SVK path class
7

SYNOPSIS

9        See below
10

DESCRIPTION

12       The class represents a node in svk depot.
13
14       root
15
16       Returns the root representing the file system of the revision at the
17       anchor.  Give optional pool (null to use default), otherwise use the
18       internal root of the path object.  Be careful if you are using the root
19       object but not keeping the path object.
20
21       same_repos
22
23       Returns true if all @other targets are from the same repository
24
25       same_source
26
27       Returns true if all @other targets are mirrored from the same source
28
29       is_mirrored
30
31       Returns the mirror object if the path is mirrored.  Returns additional
32       path component if used in array context.
33
34       normalize
35
36       Normalize the revision to the last changed one.
37
38       as_depotpath
39
40       Makes target depotpath. Takes $revision number optionally.
41
42       path
43
44       Returns the full path of the target even if anchorified.
45
46       descend
47
48       Makes target descend into $entry
49
50       universal
51
52       Returns corresponding SVK::Target::Universal object.
53
54       depotpath
55
56       Returns depotpath of the target
57
58       copy_ancestors
59
60       Returns a list of "(path, rev)" pairs, which are ancestors of the cur‐
61       rent node.
62
63       nearest_copy(root, path, [pool])
64
65       given a root object (or a target) and a path, returns the revision root
66       where it's ancestor is from another path, and ancestor's root and path.
67
68       related_to
69
70       Check if $self is related to another target.
71
72       copied_from ($want_mirror)
73
74       Return the nearest copy target that still exists.  If $want_mirror is
75       true, only return one that was mirrored from somewhere.
76
77       $self->seek_to($revision)
78
79       Return the "SVK::Path" object that $self is at $revision.  Note that we
80       don't have forward tracing, so if <$revision is greater than
81       "$self-"revision>, a "SVK::Path" at <$revision> will be returned.  In
82       other words, assuming "foo@N" for "-r N foo@M" when N > M.
83

as_url($local_only, [ $path, $rev ])

85       Returns (url, revision) pair.
86

SEE ALSO

88       SVK::Path::Checkout
89
90
91
92perl v5.8.8                       2006-12-28                      SVK::Path(3)
Impressum