##// 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 return [self.rev]
225 return [self.rev]
226
226
227 def getchanges(self, rev):
227 def getchanges(self, rev):
228 #revision = self.mtncmd("get_revision %s" % rev).split("\n\n")
229 revision = self.mtnrun("get_revision", rev).split("\n\n")
228 revision = self.mtnrun("get_revision", rev).split("\n\n")
230 files = {}
229 files = {}
231 ignoremove = {}
230 ignoremove = {}
@@ -1275,7 +1275,6 b' class Zeroconf(object):'
1275 # the SO_REUSE* options have been set, so ignore it
1275 # the SO_REUSE* options have been set, so ignore it
1276 #
1276 #
1277 pass
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 self.socket.setsockopt(socket.SOL_IP, socket.IP_ADD_MEMBERSHIP, socket.inet_aton(_MDNS_ADDR) + socket.inet_aton('0.0.0.0'))
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 self.listeners = []
1280 self.listeners = []
@@ -64,9 +64,7 b' class manifest(revlog.revlog):'
64
64
65 If the string is found m[start:end] are the line containing
65 If the string is found m[start:end] are the line containing
66 that string. If start == end the string was not found and
66 that string. If start == end the string was not found and
67 they indicate the proper sorted insertion point. This was
67 they indicate the proper sorted insertion point.
68 taken from bisect_left, and modified to find line start/end as
69 it goes along.
70
68
71 m should be a buffer or a string
69 m should be a buffer or a string
72 s is a string'''
70 s is a string'''
@@ -55,10 +55,6 b' import struct'
55 import util, base85
55 import util, base85
56 from i18n import _
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 _pack = struct.pack
58 _pack = struct.pack
63 _unpack = struct.unpack
59 _unpack = struct.unpack
64
60
@@ -84,9 +84,6 b' def findcommonheads(ui, local, remote,'
84 abortwhenunrelated=True):
84 abortwhenunrelated=True):
85 '''Return a tuple (common, anyincoming, remoteheads) used to identify
85 '''Return a tuple (common, anyincoming, remoteheads) used to identify
86 missing nodes from or in remote.
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 roundtrips = 0
88 roundtrips = 0
92 cl = local.changelog
89 cl = local.changelog
General Comments 0
You need to be logged in to leave comments. Login now