comparison tests/test-diff.py @ 105:86ff8611a8fa 0.3

client: always set HGPLAIN=1 (issue3502) Not setting it breaks output parsing on some commands.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 15 Oct 2012 09:45:43 -0700
parents 5506a241c826
children 1b47146a4a2c
comparison
equal deleted inserted replaced
104:6e423f7c784f 105:86ff8611a8fa
36 @@ -1,1 +1,2 @@ 36 @@ -1,1 +1,2 @@
37 a 37 a
38 +a 38 +a
39 """ % (node0[:12], node1[:12]) 39 """ % (node0[:12], node1[:12])
40 self.assertEquals(diff4, self.client.diff(revs=[rev0, rev1], nodates=True)) 40 self.assertEquals(diff4, self.client.diff(revs=[rev0, rev1], nodates=True))
41
42 def test_basic_plain(self):
43 open('.hg/hgrc', 'a').write('[defaults]\ndiff=--git\n')
44 self.test_basic()