1SVK::Editor::XD(3) User Contributed Perl Documentation SVK::Editor::XD(3)
2
3
4
6 SVK::Editor::XD - An editor for modifying svk checkout copies
7
9 $editor = SVK::Editor::XD->new
10 ( path => $path,
11 target => $target,
12 oldroot => $fs->revision_root ($fromrev),
13 newroot => $fs->revision_root ($torev),
14 xd => $xd,
15 get_copath => sub { ... },
16 get_path => sub { ... },
17 );
18
20 SVK::Editor::XD modifies existing checkout copies at the paths
21 translated by the get_copath callback, according to the incoming editor
22 calls. The path in the depot is translated with the get_path callback.
23
24 There are two modes, one is for applying changes to checkout copy as
25 external modification, like merging changes. The other is update mode,
26 which is used for bringing changes from depot to checkout copies.
27
29 In addition to the paramters to SVK::Editor::Checkout:
30
31 target
32 The target path of the editor calls. Used for deciding if the
33 root's meta data needs to be updated in update mode.
34
35 xd SVK::XD object.
36
37 oldroot
38 Old root before the editor calls.
39
40 newroot
41 New root after the editor calls.
42
43 update
44 Working in update mode.
45
46 get_path
47 A callback to translate paths in editor calls to path in depot.
48
49 ignore_keywords
50 Don't do keyword translations (svn:keywords property).
51
52
53
54perl v5.32.1 2021-01-27 SVK::Editor::XD(3)