--- a/hgext/convert/subversion.py Sat Mar 29 17:15:45 2008 +0100
+++ b/hgext/convert/subversion.py Sat Mar 29 17:16:18 2008 +0100
@@ -263,7 +263,7 @@
rev = optrev(self.last_changed)
oldmodule = ''
trunk = getcfgpath('trunk', rev)
- tags = getcfgpath('tags', rev)
+ self.tags = getcfgpath('tags', rev)
branches = getcfgpath('branches', rev)
# If the project has a trunk or branches, we will extract heads
@@ -278,7 +278,8 @@
# First head in the list is the module's head
self.heads = [self.head]
- self.tags = '%s/%s' % (oldmodule , (tags or 'tags'))
+ if self.tags is not None:
+ self.tags = '%s/%s' % (oldmodule , (self.tags or 'tags'))
# Check if branches bring a few more heads to the list
if branches: