Mercurial > hgsubversion
annotate .hgtags @ 1450:3c4fbf59e503
svnmeta: do not add instance references to the class object
This is part of a bigger plan to prevent a fd leak by making sure the sqlite
connection object is garbage collected.
Usually this is not a very serious issue but the testing framework will run
all tests in a single process by default. The fd leak will make tests fail
on systems with a low RLIMIT_NOFILE.
Previously, when we are adding new properties to the SVNMeta class, we bind
the current instance in the closure, which essentially prevents any SVNMeta
instances from being garbage collected (and its state like revmap). This
patch changed "self" from the closure one to the lambda argument to address
the issue.
author | Jun Wu <quark@fb.com> |
---|---|
date | Fri, 27 May 2016 01:42:55 +0100 |
parents | fc80c25bc94b |
children | 3f47dd9a6352 |
rev | line source |
---|---|
554
d2d5c09b33d0
Added tag 1.0 for changeset 97f2079e3778
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 97f2079e3778511944ffb6a662520580650a3993 1.0 |
564
7bd457ec4e5e
Added tag 1.0.1 for changeset 09c016174e33
Augie Fackler <durin42@gmail.com>
parents:
554
diff
changeset
|
2 09c016174e332eceda015d3f43d96d7e0228acf3 1.0.1 |
592
b4c3afc95420
Added tag 1.1 for changeset 4359ddd73b00
Augie Fackler <durin42@gmail.com>
parents:
564
diff
changeset
|
3 4359ddd73b009fbb356c52ea5d99cba25222ee7a 1.1 |
627
faba8e636960
Added tag 1.1.1 for changeset 8e621dbb82d4
Augie Fackler <durin42@gmail.com>
parents:
592
diff
changeset
|
4 8e621dbb82d4363a85317638ad237e2817c56347 1.1.1 |
631
493023041e74
Added tag 1.1.2 for changeset 093ae2915b45
Augie Fackler <durin42@gmail.com>
parents:
627
diff
changeset
|
5 093ae2915b452539b44390ee4ea14987484e1eee 1.1.2 |
738
2ddb95cd36dd
Added tag 1.2 for changeset 708234ad6c97
Augie Fackler <durin42@gmail.com>
parents:
631
diff
changeset
|
6 708234ad6c97fb52417e0b46a86c8373e25123a5 1.2 |
788
836aa282f1f8
Added tag 1.2.1 for changeset 4bbc6bf947f5
Augie Fackler <durin42@gmail.com>
parents:
738
diff
changeset
|
7 4bbc6bf947f56a92e95a04a27b94a9f72d5482d7 1.2.1 |
838
efc86b40e915
Added tag 1.3 for changeset 0cbf9fd89672
Augie Fackler <durin42@gmail.com>
parents:
788
diff
changeset
|
8 0cbf9fd89672e73165e1bb4db1ec8f7f65b95c94 1.3 |
883
78ffbe411695
Added tag 1.4 for changeset 07234759a3f7
Augie Fackler <raf@durin42.com>
parents:
838
diff
changeset
|
9 07234759a3f750029ccaa001837d42fa12dd33ee 1.4 |
972
109c412ecf12
Added tag 1.5 for changeset 77b22e5b4ea6
Augie Fackler <raf@durin42.com>
parents:
883
diff
changeset
|
10 77b22e5b4ea6c248e079afd0f1e544cb5690ce20 1.5 |
1020
b5b1fce26f1f
Added tag 1.5.1 for changeset d0f3a5c2cb56
Augie Fackler <raf@durin42.com>
parents:
972
diff
changeset
|
11 d0f3a5c2cb56ce65d9ef1c611c8bfbebdc3bef34 1.5.1 |
1105
00193337d7f3
Added tag 1.6 for changeset 7d47a0f73135
Augie Fackler <raf@durin42.com>
parents:
1020
diff
changeset
|
12 7d47a0f731354505ed9ae8d60d2a6996e8c3294f 1.6 |
1178
41ff2014d125
Added tag 1.6.1 for changeset 8caf1226adec
Augie Fackler <raf@durin42.com>
parents:
1020
diff
changeset
|
13 8caf1226adecb322e90ddb3817c604fa2fe8a66d 1.6.1 |
1226
5cdc58c1c9a7
Added tag 1.6.2 for changeset 36f6d51b4edc
Augie Fackler <raf@durin42.com>
parents:
1178
diff
changeset
|
14 36f6d51b4edc31f1f9ce2d0d02965a85dd26a455 1.6.2 |
1230
807c443928d4
Added tag 1.6.3 for changeset 46523cdfd3b0
Augie Fackler <raf@durin42.com>
parents:
1226
diff
changeset
|
15 46523cdfd3b0cee0bf1366ab587686bb65211747 1.6.3 |
1256
ee4d0f91eaf9
Added tag 1.7 for changeset 139a44a63090
Augie Fackler <raf@durin42.com>
parents:
1231
diff
changeset
|
16 139a44a63090b2c0f8e05d7d1104d3d9c9e26f57 1.7 |
1305
e7d84481cf76
Added tag 1.8 for changeset c1756971f882
Augie Fackler <raf@durin42.com>
parents:
1256
diff
changeset
|
17 c1756971f8828a59c859513f208c6d79bf34c275 1.8 |
1325
82803ec84c82
Added tag 1.8.1 for changeset dde1ade36a49
Augie Fackler <raf@durin42.com>
parents:
1305
diff
changeset
|
18 dde1ade36a49d3d0e1b4b8bd384a6797665b5081 1.8.1 |
1345
2fdf16f2d4dd
Added tag 1.8.2 for changeset 38be7a6b6def
Augie Fackler <raf@durin42.com>
parents:
1325
diff
changeset
|
19 38be7a6b6def3298fe9ffff141eb58e1370a53cc 1.8.2 |
1348
17876c2c9ce5
Added tag 1.8.3 for changeset 759cafce6bec
Augie Fackler <raf@durin42.com>
parents:
1345
diff
changeset
|
20 759cafce6becef077fb1a152b554a05ff66b04cd 1.8.3 |
1366
388511fe46be
Added tag 1.8.4 for changeset 89997a5fc181
Augie Fackler <raf@durin42.com>
parents:
1348
diff
changeset
|
21 89997a5fc18163c5f65b83272b4521cdbf29984e 1.8.4 |
1371
34968c4a6a02
Added tag 1.8.5 for changeset bd979667611d
Augie Fackler <raf@durin42.com>
parents:
1366
diff
changeset
|
22 bd979667611d9df733c61251e7668899f3e77a8f 1.8.5 |
1409
fc80c25bc94b
Added tag 1.8.6 for changeset 49d324e11856
Augie Fackler <raf@durin42.com>
parents:
1371
diff
changeset
|
23 49d324e11856f5d65bd7f83f7ffb3a2f07bf82c1 1.8.6 |