1SVK::Command::Info(3) User Contributed Perl DocumentationSVK::Command::Info(3)
2
3
4
6 SVK::Command::Info - Display information about a file or directory
7
9 info [PATH ⎪ DEPOTPATH]...
10
12 -R [--recursive] : descend recursively
13
15 For example, here's the way to display the info of a checkout path:
16
17 % svk info ~/dev/svk
18 Checkout Path: /Users/gugod/dev/svk
19 Depot Path: //svk/local
20 Revision: 447
21 Last Changed Rev.: 447
22 Copied From: /svk/trunk, Rev. 434
23 Merge From: /svk/trunk, Rev. 445
24
25 You can see the result has some basic information: the actual depot
26 path, and current revision. Next are advanced information about copy
27 and merge source for this depot path.
28
29 The result of "svk info //svk/local" is almost the same as above,
30 except for the "Checkout Path:" line is not there, because you are not
31 referring to a checkout path.
32
33 Note that the revision numbers on "Copied From:" and "Merge From:"
34 lines are for the source path (//svk/trunk), not the target path
35 (//svk/local). The example above state that, //svk/local is copied
36 from the revision 434 of //svk/trunk, and //svk/local was merged from
37 the revision 445 of //svk/trunk. Hence if you do a "svk log -r 434
38 //svk/local", svk would tell you that //svk/local does not exist at
39 revision 434.
40
41 So far there is no easy way to tell the actual revision number of
42 //svk/local right after a copy or merge.
43
44 If the target is a depot path, or the corresponding depot path of the
45 target checkout path is actually a mirroring path, the output of this
46 command will look like this:
47
48 % svk info //svk/trunk
49 Depot Path: //svk/trunk
50 Revision: 447
51 Last Changed Rev.: 445
52 Mirrored From: svn://svn.clkao.org/svk, Rev. 1744
53
54 So you can see this depot path is mirrored from a remote repository,
55 and so far mirrored up to revision 1744.
56
57
58
59perl v5.8.8 2006-12-28 SVK::Command::Info(3)