Mercurial > hg
changeset 17426:9724f8f8850b
delete some dead comments and docstrings
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 21 Aug 2012 02:41:20 +0200 |
parents | e95ec38f86b0 |
children | 57c6c24b9bc4 |
files | hgext/convert/monotone.py hgext/zeroconf/Zeroconf.py mercurial/manifest.py mercurial/obsolete.py mercurial/setdiscovery.py |
diffstat | 5 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/monotone.py Wed Aug 15 22:39:18 2012 +0200 +++ b/hgext/convert/monotone.py Tue Aug 21 02:41:20 2012 +0200 @@ -225,7 +225,6 @@ return [self.rev] def getchanges(self, rev): - #revision = self.mtncmd("get_revision %s" % rev).split("\n\n") revision = self.mtnrun("get_revision", rev).split("\n\n") files = {} ignoremove = {}
--- a/hgext/zeroconf/Zeroconf.py Wed Aug 15 22:39:18 2012 +0200 +++ b/hgext/zeroconf/Zeroconf.py Tue Aug 21 02:41:20 2012 +0200 @@ -1275,7 +1275,6 @@ # the SO_REUSE* options have been set, so ignore it # pass - #self.socket.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF, socket.inet_aton(self.intf) + socket.inet_aton('0.0.0.0')) self.socket.setsockopt(socket.SOL_IP, socket.IP_ADD_MEMBERSHIP, socket.inet_aton(_MDNS_ADDR) + socket.inet_aton('0.0.0.0')) self.listeners = []
--- a/mercurial/manifest.py Wed Aug 15 22:39:18 2012 +0200 +++ b/mercurial/manifest.py Tue Aug 21 02:41:20 2012 +0200 @@ -64,9 +64,7 @@ If the string is found m[start:end] are the line containing that string. If start == end the string was not found and - they indicate the proper sorted insertion point. This was - taken from bisect_left, and modified to find line start/end as - it goes along. + they indicate the proper sorted insertion point. m should be a buffer or a string s is a string'''
--- a/mercurial/obsolete.py Wed Aug 15 22:39:18 2012 +0200 +++ b/mercurial/obsolete.py Tue Aug 21 02:41:20 2012 +0200 @@ -55,10 +55,6 @@ import util, base85 from i18n import _ -# the obsolete feature is not mature enought to be enabled by default. -# you have to rely on third party extension extension to enable this. -_enabled = False - _pack = struct.pack _unpack = struct.unpack
--- a/mercurial/setdiscovery.py Wed Aug 15 22:39:18 2012 +0200 +++ b/mercurial/setdiscovery.py Tue Aug 21 02:41:20 2012 +0200 @@ -84,9 +84,6 @@ abortwhenunrelated=True): '''Return a tuple (common, anyincoming, remoteheads) used to identify missing nodes from or in remote. - - shortcutlocal determines whether we try use direct access to localrepo if - remote is actually local. ''' roundtrips = 0 cl = local.changelog