diff hgext/convert/common.py @ 8887:0332f8b44e54

convert/svn: test svn tags encoding
author Patrick Mezard <pmezard@gmail.com>
date Sun, 21 Jun 2009 23:17:05 +0200
parents 68e0a55eee6e
children eac360045ba4
line wrap: on
line diff
--- 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):