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 Last Changed Date: 2006-11-28
23 Copied From: /svk/trunk, Rev. 434
24 Merged From: /svk/trunk, Rev. 445
25
26 You can see the result has some basic information: the actual depot
27 path, and current revision. Next are advanced information about copy
28 and merge source for this depot path.
29
30 The result of "svk info //svk/local" is almost the same as above,
31 except for the "Checkout Path:" line is not there, because you are not
32 referring to a checkout path.
33
34 Note that the revision numbers on "Copied From:" and "Merged From:"
35 lines are for the source path (//svk/trunk), not the target path
36 (//svk/local). The example above state that, //svk/local is copied
37 from the revision 434 of //svk/trunk, and //svk/local was merged from
38 the revision 445 of //svk/trunk. Hence if you do a "svk log -r 434
39 //svk/local", svk would tell you that //svk/local does not exist at
40 revision 434.
41
42 So far there is no easy way to tell the actual revision number of
43 //svk/local right after a copy or merge.
44
45 If the target is a depot path, or the corresponding depot path of the
46 target checkout path is actually a mirroring path, the output of this
47 command will look like this:
48
49 % svk info //svk/trunk
50 Depot Path: //svk/trunk
51 Revision: 447
52 Last Changed Rev.: 445
53 Mirrored From: svn://svn.clkao.org/svk, Rev. 1744
54
55 So you can see this depot path is mirrored from a remote repository,
56 and so far mirrored up to revision 1744.
57
58
59
60perl v5.12.4 2010-03-09 SVK::Command::Info(3)