diff git_handler.py @ 210:9a27c618d0ed

remove broken tagging code (see issue 3 bb)
author Abderrahim Kitouni <a.kitouni@gmail.com>
date Sun, 05 Jul 2009 16:39:28 +0100
parents c06ac5b982a9
children 174954c187e0
line wrap: on
line diff
--- a/git_handler.py	Fri Jul 03 16:46:26 2009 +0100
+++ b/git_handler.py	Sun Jul 05 16:39:28 2009 +0100
@@ -689,7 +689,7 @@
 
     def export_hg_tags(self):
         for tag, sha in self.repo.tags().iteritems():
-            if self.repo.tagtype(tag) == 'git':
+            if self.repo.tagtype(tag) in ('global', 'git'):
                 self.git.set_ref('refs/tags/' + tag, self.map_git_get(hex(sha)))
 
     def local_heads(self):