##// END OF EJS Templates
delete some dead comments and docstrings
Mads Kiilerich -
r17426:9724f8f8 default
parent child Browse files
Show More
@@ -225,7 +225,6 b' class monotone_source(converter_source, '
225 225 return [self.rev]
226 226
227 227 def getchanges(self, rev):
228 #revision = self.mtncmd("get_revision %s" % rev).split("\n\n")
229 228 revision = self.mtnrun("get_revision", rev).split("\n\n")
230 229 files = {}
231 230 ignoremove = {}
@@ -1275,7 +1275,6 b' class Zeroconf(object):'
1275 1275 # the SO_REUSE* options have been set, so ignore it
1276 1276 #
1277 1277 pass
1278 #self.socket.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF, socket.inet_aton(self.intf) + socket.inet_aton('0.0.0.0'))
1279 1278 self.socket.setsockopt(socket.SOL_IP, socket.IP_ADD_MEMBERSHIP, socket.inet_aton(_MDNS_ADDR) + socket.inet_aton('0.0.0.0'))
1280 1279
1281 1280 self.listeners = []
@@ -64,9 +64,7 b' class manifest(revlog.revlog):'
64 64
65 65 If the string is found m[start:end] are the line containing
66 66 that string. If start == end the string was not found and
67 they indicate the proper sorted insertion point. This was
68 taken from bisect_left, and modified to find line start/end as
69 it goes along.
67 they indicate the proper sorted insertion point.
70 68
71 69 m should be a buffer or a string
72 70 s is a string'''
@@ -55,10 +55,6 b' import struct'
55 55 import util, base85
56 56 from i18n import _
57 57
58 # the obsolete feature is not mature enought to be enabled by default.
59 # you have to rely on third party extension extension to enable this.
60 _enabled = False
61
62 58 _pack = struct.pack
63 59 _unpack = struct.unpack
64 60
@@ -84,9 +84,6 b' def findcommonheads(ui, local, remote,'
84 84 abortwhenunrelated=True):
85 85 '''Return a tuple (common, anyincoming, remoteheads) used to identify
86 86 missing nodes from or in remote.
87
88 shortcutlocal determines whether we try use direct access to localrepo if
89 remote is actually local.
90 87 '''
91 88 roundtrips = 0
92 89 cl = local.changelog
General Comments 0
You need to be logged in to leave comments. Login now