Mercurial > hgsubversion
comparison tests/test_tags.py @ 1255:139a44a63090 stable 1.7
Merge default into stable for a release.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 05 Nov 2014 12:48:59 -0500 |
parents | f06bb42bd2b2 |
children | a36e87ae2380 |
comparison
equal
deleted
inserted
replaced
1230:807c443928d4 | 1255:139a44a63090 |
---|---|
173 | 173 |
174 def test_old_tag_map_rebuilds(self): | 174 def test_old_tag_map_rebuilds(self): |
175 repo = self._load_fixture_and_fetch('tag_name_same_as_branch.svndump') | 175 repo = self._load_fixture_and_fetch('tag_name_same_as_branch.svndump') |
176 tm = os.path.join(repo.path, 'svn', 'tagmap') | 176 tm = os.path.join(repo.path, 'svn', 'tagmap') |
177 open(tm, 'w').write('1\n') | 177 open(tm, 'w').write('1\n') |
178 # force tags to load since it is lazily loaded when needed | |
179 repo.svnmeta().tags | |
178 commands.pull(repo.ui, repo) | 180 commands.pull(repo.ui, repo) |
179 self.assertEqual(open(tm).read().splitlines()[0], '2') | 181 self.assertEqual(open(tm).read().splitlines()[0], '2') |
180 | 182 |
181 def _debug_print_tags(self, repo, ctx, fp): | 183 def _debug_print_tags(self, repo, ctx, fp): |
182 def formatnode(ctx): | 184 def formatnode(ctx): |