mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
merge with branch issue-139
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
import sys, os
|
import sys, os
|
||||||
|
|
||||||
# import mercurial modules
|
# import mercurial modules
|
||||||
from mercurial import hg, ui, commands
|
from mercurial import hg, ui, commands, encoding
|
||||||
from mercurial.node import hex
|
from mercurial.node import hex
|
||||||
from xml.dom.minidom import Document
|
from xml.dom.minidom import Document
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ def createChildNode(doc, parentNode, name):
|
|||||||
return node
|
return node
|
||||||
|
|
||||||
def appendValue(doc, node, value):
|
def appendValue(doc, node, value):
|
||||||
textNode = doc.createTextNode(value)
|
textNode = doc.createTextNode(encoding.tolocal(value))
|
||||||
node.appendChild(textNode)
|
node.appendChild(textNode)
|
||||||
|
|
||||||
def appendTextNode(doc, parentNode, name, value):
|
def appendTextNode(doc, parentNode, name, value):
|
||||||
|
|||||||
Reference in New Issue
Block a user