summaryrefslogtreecommitdiff
path: root/hg/init.d/50hg-ignore
blob: 5d3a6a64038fc1a13125c80b78388ee1e94a4249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh
set -e
if [ ! -e .hgignore ]; then
	cat >.hgignore <<EOF
*~$
.lock$
/\.keep
^X11/xdm/authdir/authfiles/.*:[0-9]-
^mail/aliases\.db$
adjtime
axfrdns/log/
axfrdns/supervise/
^blkid\.tab
config-archive
cups/.*\.O
dnscache/log/
dnscache/root/servers/
dnscache/seed
dnscache/supervise/
^mtab$
group-
ld.so.cache
mtab\.fuselock
openvpn/.*\.wav
passwd-
postfix/.*\.db
shadow-
skey/skeykeys
splash/.*/images/
splash/.*\.ttf
tinydns/log/
tinydns/root/\.serial
tinydns/root/data.cdb
tinydns/supervise/
vmware/vmnet.*/dhcpd/dhcpd.lease*
.old$
.rpmsave$
.rpmorig$
.bak$
squid/errors
.OLD$
.orig$
.swp$
^.java/.*
.pacsave$

# new and old versions of conffiles, stored by dpkg
*.dpkg-*

# mount(8) records system state here, no need to keep these in hg
blkid.tab
blkid.tab.old

# some other files in /etc that typically do not need to be tracked
network/run

EOF
fi