Mercurial > hgsubversion
comparison tests/test_utility_commands.py @ 1003:6945d3359456
testutil: clear rcpath when we update HGRCPATH env var
hg maintains a global cache of the HGRCPATH that doesn't get updated
when HGRCPATH is changed. Nuke said global cache when we change the
HGRCPATH.
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Fri, 12 Apr 2013 15:41:51 -0700 |
parents | 68191be64af8 |
children | d741f536f23a |
comparison
equal
deleted
inserted
replaced
1002:117b3b421294 | 1003:6945d3359456 |
---|---|
339 svncommands.rebuildmeta, | 339 svncommands.rebuildmeta, |
340 self.ui(), repo=self.repo, args=[otherurl]) | 340 self.ui(), repo=self.repo, args=[otherurl]) |
341 # rebuildmeta --unsafe-skip-uuid-check with unrelated repo | 341 # rebuildmeta --unsafe-skip-uuid-check with unrelated repo |
342 svncommands.rebuildmeta(self.ui(), repo=self.repo, args=[otherurl], | 342 svncommands.rebuildmeta(self.ui(), repo=self.repo, args=[otherurl], |
343 unsafe_skip_uuid_check=True) | 343 unsafe_skip_uuid_check=True) |
344 | 344 |
345 def suite(): | 345 def suite(): |
346 all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), | 346 all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), |
347 ] | 347 ] |
348 return unittest.TestSuite(all_tests) | 348 return unittest.TestSuite(all_tests) |