Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 98099 | Differences between
and this patch

Collapse All | Expand All

(-)tools/backup/hot-backup.py.in.orig (-1 / +8 lines)
Lines 34-40 Link Here
34
svnadmin = "@SVN_BINDIR@/svnadmin"
34
svnadmin = "@SVN_BINDIR@/svnadmin"
35
35
36
# Number of backups to keep around (0 for "keep them all")
36
# Number of backups to keep around (0 for "keep them all")
37
num_backups = 64
37
# Configurable in /etc/env.d/80hotbackup
38
envvar_hb_num='SVN_HOTBACKUP_NUM_BACKUPS'
39
if os.environ.has_key(envvar_hb_num):
40
	num_backups = int(os.environ[envvar_hb_num])
41
else:
42
	num_backups = 64
43
print 'Keeping up to', num_backups, 'around.'			
44
38
45
39
######################################################################
46
######################################################################
40
# Command line arguments
47
# Command line arguments

Return to bug 98099