hgext/convert/common.py
changeset 8887 0332f8b44e54
parent 8693 68e0a55eee6e
child 8970 eac360045ba4
--- a/hgext/convert/common.py	Sun Jun 21 23:17:02 2009 +0200
+++ b/hgext/convert/common.py	Sun Jun 21 23:17:05 2009 +0200
@@ -103,7 +103,10 @@
         raise NotImplementedError()
 
     def gettags(self):
-        """Return the tags as a dictionary of name: revision"""
+        """Return the tags as a dictionary of name: revision
+
+        Tag names must be UTF-8 strings.
+        """
         raise NotImplementedError()
 
     def recode(self, s, encoding=None):
@@ -198,7 +201,9 @@
 
     def puttags(self, tags):
         """Put tags into sink.
-        tags: {tagname: sink_rev_id, ...}"""
+
+        tags: {tagname: sink_rev_id, ...} where tagname is an UTF-8 string.
+        """
         raise NotImplementedError()
 
     def setbranch(self, branch, pbranches):