comparison tests/test_hooks.py @ 1418:c161586a6b77

Merge with stable.
author Augie Fackler <raf@durin42.com>
date Mon, 23 May 2016 17:45:19 -0400
parents 4f1461428334
children
comparison
equal deleted inserted replaced
1416:020917cde9f5 1418:c161586a6b77
15 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs) 15 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs)
16 return repo, repo_path 16 return repo, repo_path
17 17
18 def test_updatemetahook(self): 18 def test_updatemetahook(self):
19 repo, repo_path = self._loadupdate('single_rev.svndump') 19 repo, repo_path = self._loadupdate('single_rev.svndump')
20 state = repo.parents() 20 state = repo[None].parents()
21 self.add_svn_rev(repo_path, {'trunk/alpha': 'Changed'}) 21 self.add_svn_rev(repo_path, {'trunk/alpha': 'Changed'})
22 commands.pull(self.repo.ui, self.repo) 22 commands.pull(self.repo.ui, self.repo)
23 23
24 # Clone to a new repository and add a hook 24 # Clone to a new repository and add a hook
25 new_wc_path = "%s-2" % self.wc_path 25 new_wc_path = "%s-2" % self.wc_path