comparison tests/test_pull.py @ 808:b64173a27ce8

test_pull: clean up whitespace
author Augie Fackler <durin42@gmail.com>
date Tue, 24 May 2011 15:20:56 -0500
parents 35a1e93b6f78
children 8c7447b4b004
comparison
equal deleted inserted replaced
807:800d293f907d 808:b64173a27ce8
26 state = repo.parents() 26 state = repo.parents()
27 self._add_svn_rev({'trunk/alpha': 'Changed'}) 27 self._add_svn_rev({'trunk/alpha': 'Changed'})
28 commands.pull(self.repo.ui, repo) 28 commands.pull(self.repo.ui, repo)
29 self.assertEqual(state, repo.parents()) 29 self.assertEqual(state, repo.parents())
30 self.assertTrue('tip' not in repo[None].tags()) 30 self.assertTrue('tip' not in repo[None].tags())
31 31
32 def test_onerevision_doupdate(self): 32 def test_onerevision_doupdate(self):
33 repo = self._load_fixture_and_fetch('single_rev.svndump') 33 repo = self._load_fixture_and_fetch('single_rev.svndump')
34 state = repo.parents() 34 state = repo.parents()
35 self._add_svn_rev({'trunk/alpha': 'Changed'}) 35 self._add_svn_rev({'trunk/alpha': 'Changed'})
36 commands.pull(self.repo.ui, repo, update=True) 36 commands.pull(self.repo.ui, repo, update=True)