# HG changeset patch # User Augie Fackler # Date 1246849298 18000 # Node ID 7151f63ab33c80232586742d19639bb3b5f78cb9 # Parent 9741029985789ed843cea315f2aac341f41bb00b tags: fix a bug triggered by copies from non-branch-roots I have not included a test case because I can't iron out the specifics of what causes this bug. This allows jquery to finish cloning successfully. Further inspection of the jquery history around 4400:4410 should allow construction of a meaningful test case. diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -340,13 +340,13 @@ class SVNMeta(object): file, branch = self.split_branch_path(src_p)[:2] if file is None: # some crazy people make tags from other tags - file = '' from_tag = self.is_path_tag(src_p) if not from_tag: continue if from_tag in self.tags: ci = self.repo[self.tags[from_tag]].extra()['convert_revision'] src_rev, branch, = self.parse_converted_revision(ci) + file = '' if t_name not in added_tags and file is '': added_tags[t_name] = branch, src_rev elif file: