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