"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/hgmanpage.py" between
mercurial-5.8.tar.gz and mercurial-5.8.1.tar.gz

About: Mercurial is a Source (Version) Control Management system designed for efficient handling of very large distributed projects.

hgmanpage.py  (mercurial-5.8):hgmanpage.py  (mercurial-5.8.1)
skipping to change at line 168 skipping to change at line 168
text[-1] += '\n' text[-1] += '\n'
if i < len(row) - 1: if i < len(row) - 1:
text.append('T}' + self._tab_char + 'T{\n') text.append('T}' + self._tab_char + 'T{\n')
else: else:
text.append('T}\n') text.append('T}\n')
text.append('_\n') text.append('_\n')
text.append('.TE\n') text.append('.TE\n')
return text return text
class Translator(nodes.NodeVisitor): class Translator(nodes.NodeVisitor):
"""""" """ """
words_and_spaces = re.compile(r'\S+| +|\n') words_and_spaces = re.compile(r'\S+| +|\n')
document_start = """Man page generated from reStructuredText.""" document_start = """Man page generated from reStructuredText."""
def __init__(self, document): def __init__(self, document):
nodes.NodeVisitor.__init__(self, document) nodes.NodeVisitor.__init__(self, document)
self.settings = settings = document.settings self.settings = settings = document.settings
lcode = settings.language_code lcode = settings.language_code
arglen = len(inspect.getargspec(languages.get_language)[0]) arglen = len(inspect.getargspec(languages.get_language)[0])
if arglen == 2: if arglen == 2:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)