annotate .hgtags @ 197:6949fc164439 2.5

hgclient: look for an open server before closing it in ResponseError block At least some of the codepaths that can throw a ResponseError close the server first (the one in _readchannel does so in order to detect server startup failures, for example), so we have to verify we have a server to close before doing so, otherwise we can lose the ResponseError and the user sees an AttributeError when we try to use .close() on a NoneType.
author Augie Fackler <raf@durin42.com>
date Sun, 10 Dec 2017 12:52:37 -0500
parents 8e959ad6a25c
children 79a19cf1528e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
69fcc4d15059 Added tag 0.1 for changeset c41442cb355d
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
1 c41442cb355d55ca152d5f13a95a6bf2ebc5b870 0.1
103
e5d3b0aa48e6 Added tag 0.2 for changeset cc2b7540fa2b
Matt Mackall <mpm@selenic.com>
parents: 84
diff changeset
2 cc2b7540fa2bd0ddb8ba29786a0f73d682bee0a7 0.2
106
7ce1c3b93414 Added tag 0.3 for changeset 86ff8611a8fa
Matt Mackall <mpm@selenic.com>
parents: 103
diff changeset
3 86ff8611a8fad14d4c1dba6d75bc26caaa41e951 0.3
108
181d1a4115cf Added tag 0.4 for changeset 5fe53db61aa4
Matt Mackall <mpm@selenic.com>
parents: 106
diff changeset
4 5fe53db61aa433018de8b0ee296db868f666cee7 0.4
111
63b92316623e Added tag 0.9 for changeset c635e6e7054f
Matt Mackall <mpm@selenic.com>
parents: 108
diff changeset
5 c635e6e7054f2600d36343eaa1770cb36549382a 0.9
116
661f78f395ea Added tag 1.0 for changeset 8867908fe8c7
Matt Mackall <mpm@selenic.com>
parents: 111
diff changeset
6 8867908fe8c751dc0aef6194dd401ae08a4931f3 1.0
119
c13b99b01008 Added tag 1.1 for changeset e738d6fe5f3f
Matt Mackall <mpm@selenic.com>
parents: 116
diff changeset
7 e738d6fe5f3ff613a4ee2c0d759eee0ee4f5c9ff 1.1
121
cc905ee18449 Added tag 1.2 for changeset 5d3783aebe5f
Matt Mackall <mpm@selenic.com>
parents: 119
diff changeset
8 5d3783aebe5f82bb9dc90fde31543c262b797dd4 1.2
131
a3373bf28ccb Added tag 1.3 for changeset df808f92c0f1
Matt Mackall <mpm@selenic.com>
parents: 121
diff changeset
9 df808f92c0f19241920ee8cd9ef0ddd7e1c312a6 1.3
135
f6b6e16531f8 Added tag 1.4 for changeset 1b47146a4a2c
Matt Mackall <mpm@selenic.com>
parents: 131
diff changeset
10 1b47146a4a2ca48624598d55f73d4aceca8bfb35 1.4
139
c62635b24826 Added tag 1.5 for changeset a05cdc1579df
Matt Mackall <mpm@selenic.com>
parents: 135
diff changeset
11 a05cdc1579df62120e716c6e9113458f568f0ff3 1.5
161
ec935041d1ff Added tag 1.6 for changeset 91329df47df5
Matt Mackall <mpm@selenic.com>
parents: 139
diff changeset
12 91329df47df5825072947821f9571fc5dd6b1342 1.6
163
8bc9c076cbb6 Added tag 1.7 for changeset e0678dfb7aec
Matt Mackall <mpm@selenic.com>
parents: 161
diff changeset
13 e0678dfb7aeca9fb368ccb354e4cdec93189b208 1.7
166
bfdc96f22321 Added tag 1.8 for changeset dbb21a4c0eb9
Matt Mackall <mpm@selenic.com>
parents: 163
diff changeset
14 dbb21a4c0eb914b454aa461a7e70504239bbc6ba 1.8
170
ffca01835a7c Added tag 1.9 for changeset e6589149b2c8
Matt Mackall <mpm@selenic.com>
parents: 166
diff changeset
15 e6589149b2c8547a8154083ebfdb882e3225d74c 1.9
172
028f66e8e3ca Added tag 2.0 for changeset 2725547a5f92
Matt Mackall <mpm@selenic.com>
parents: 170
diff changeset
16 2725547a5f92d61a672420569f7237b81b582fab 2.0
174
c67410c74723 Added tag 2.1 for changeset 8c4d24b58c23
Matt Mackall <mpm@selenic.com>
parents: 172
diff changeset
17 8c4d24b58c23030616d7f65a4ae3a392e8ef9d0d 2.1
177
6f15cb7cc9cb Added tag 2.2 for changeset 3f854e3bcdd1
Matt Mackall <mpm@selenic.com>
parents: 174
diff changeset
18 3f854e3bcdd109fe86c5bda911b76408184a2d98 2.2
183
ae38fb772613 Added tag 2.3 for changeset 0f81ed8e147b
Matt Mackall <mpm@selenic.com>
parents: 177
diff changeset
19 0f81ed8e147b60b939dd4580c05f31a1aa464a16 2.3
185
8e959ad6a25c Added tag 2.4 for changeset 820d7c1e470a
Matt Mackall <mpm@selenic.com>
parents: 183
diff changeset
20 820d7c1e470aaa11dad8f33e9161179a8115cef6 2.4