1SVK::Help::Environment(U3s)er Contributed Perl DocumentatSiVoKn::Help::Environment(3)
2
3
4
6 A number of system environment variables influence how svk runs. Below
7 is a complete list of variables you can use to alter svk's behavior.
8
9 All Platforms
10
11 $SVKROOT
12 Unless you tell it otherwise, svk stores your configuration and
13 repository in $HOME/.svk. If you set SVKROOT to a path on disk,
14 svk will look there instead of in $HOME/.svk.
15
16 $SVN_EDITOR / $EDITOR
17 Sometimes, svk needs to pop up a text editor. svk first tries to
18 launch the editor specified in $SVN_EDITOR and falls back to $EDI‐
19 TOR if that's not defined.
20
21 $SVKDIFF
22 If you'd prefer to use an external "diff" tool instead of svk's
23 builtin diff library, set this variable to your tool's name or
24 path.
25
26 $SVKMERGE
27 svk lets you resolve conflicts, interactively, with a text editor
28 or use an external diff tool. Out of the box, svk comes with sup‐
29 port for the following merge tools:
30
31 AraxisMerge
32 Emacs
33 FileMerge
34 GtkDiff
35 Guiffy
36 GVim
37 KDiff3
38 Meld
39 P4WinMerge
40 TkDiff
41 TortoiseMerge
42 Vim
43 XXDiff
44
45 If you want svk to spawn a specific merge tool, set this variable
46 to the tool's name.
47
48 $SVKLOGLEVEL
49 The lowest log level that svk will present to the user. The log
50 levels are: DEBUG, INFO, WARN, ERROR and FATAL. The default log
51 level is INFO; this includes progress messages for long-running
52 commands (such as sync). For non-interactive use (such as for cron
53 jobs) it might be useful to set $SVKLOGLEVEL to WARN.
54
55 $SVKRESOLVE
56 If you set this variable, svk's interactive resolver will always
57 perform the command it's set to. For more details about the com‐
58 mands available in svk's interactive resolver, type "perldoc
59 SVK::Resolve".
60
61 $SVKMIME
62 Indicates which module is used for automatically detecting the MIME
63 types of files. Implementations included with core SVK are:
64 "File::LibMagic", "File::MMagic", "File::Type" and "Internal". The
65 value "Internal" means to use SVK's own internal MIME detection
66 algorithm which requires no external modules. This poor, but fast
67 algorithm simply assigns "application/octet-stream" to anything
68 that looks binary. If $SVKMIME has no value, "Internal" is used.
69
70 $SVKPAGER
71 When svk needs to pipe long output through a pager, it uses $SVK‐
72 PAGER to send the output to your display. If this variable is not
73 set or set to something that's not executable, the output will not
74 be paged. svk ignores your $PAGER setting, so you must explicitly
75 set $SVKPAGER if you want paging.
76
77 $SVKLOGOUTPUT
78 By specifying this variable, you change the default output filter
79 used by the "svk log" command. The value of this variable can be
80 anything that you can pass to "svk log"'s "--output" option.
81
82 $SVKPGP
83 svk supports signing and verifying changesets using the Gnu Privacy
84 Guard. By default, svk tries to run the first program called gpg
85 in your path. To tell svk to use a specific gpg executable, set
86 this variable to the executable's name or path.
87
88 $SVNFSTYPE
89 By default, svk creates its local repository as a fsfs repository
90 when running on Subversion 1.1 and newer. On Subversion 1.0, SVK
91 defaults to bdb. To explicitly specify a repository type, set this
92 variable to fsfs or bdb.
93
94 $SVKNORAREPLAY
95 By default, svk tries to make use of the replay api provided by
96 Subversion if available. You can turn this environment variable on
97 to tell svk not to do so. svk will then use the old "SVN::Mirror"
98 module to do mirroring.
99
100 $SVKSVNBACKTRACE
101 (For debugging use only.) If this environment variable is set to a
102 true value, any error message which comes from the Subversion
103 libraries will be accompanied by a stack backtrace.
104
105 Win32
106
107 These variables only apply to svk on Windows.
108
109 $ProgramFiles
110 Set this variable to the directory you install programs into. It
111 defaults to 'C:\Program Files'.
112
113
114
115perl v5.8.8 2006-12-28 SVK::Help::Environment(3)