Mercurial > python-hglib
diff tests/test-update.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 | a0328b08e028 |
children | 9324a89dd84e |
line wrap: on
line diff
--- a/tests/test-update.py Thu Mar 01 23:16:07 2012 -0500 +++ b/tests/test-update.py Mon Oct 15 09:45:43 2012 -0700 @@ -66,3 +66,7 @@ u, m, r, ur = self.client.update(clean=True) self.assertEquals(u, 1) self.assertEquals(old, open('a').read()) + + def test_basic_plain(self): + open('.hg/hgrc', 'a').write('[defaults]\nupdate=-v\n') + self.test_basic()