diff 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
line wrap: on
line diff
--- a/tests/test-diff.py	Thu Mar 01 23:16:07 2012 -0500
+++ b/tests/test-diff.py	Mon Oct 15 09:45:43 2012 -0700
@@ -38,3 +38,7 @@
 +a
 """ % (node0[:12], node1[:12])
         self.assertEquals(diff4, self.client.diff(revs=[rev0, rev1], nodates=True))
+
+    def test_basic_plain(self):
+        open('.hg/hgrc', 'a').write('[defaults]\ndiff=--git\n')
+        self.test_basic()