1SVK(3) User Contributed Perl Documentation SVK(3)
2
3
4
6 SVK - A Distributed Version Control System
7
9 use SVK;
10 use SVK::XD;
11 $xd = SVK::XD->new (depotmap => { '' => '/path/to/repos'});
12
13 $svk = SVK->new (xd => $xd, output => \$output);
14 # serialize the $xd object for future use.
15
16 $svk->ls ('//'); # check $output for its output
17 ...
18
20 "SVK" is the class that loads SVK::Command and invokes them. You can
21 use it in your program to do what you do with the svk command line
22 interface.
23
25 Options to "new":
26
27 xd SVK::XD object that handles depot and checkout copy mapping.
28
29 output
30 A scalar reference. After command invocation the output will be
31 stored in the scalar. By default the output is not held in any
32 scalar and will be printed to STDOUT.
33
35 All methods are autoloaded and deferred to "SVK::Command->invoke".
36
38 svk, SVK::XD, SVK::Command.
39
40
41
42perl v5.12.4 2008-08-05 SVK(3)