Mercurial > python-hglib
changeset 115:8867908fe8c7 1.0
tests: deal with missing largefiles support for 1.9
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 06 May 2013 15:17:40 -0500 |
parents | 2e2055fc66c3 |
children | 661f78f395ea |
files | tests/test-update.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-update.py Mon May 06 14:41:10 2013 -0500 +++ b/tests/test-update.py Mon May 06 15:17:40 2013 -0500 @@ -75,7 +75,11 @@ import os open('.hg/hgrc', 'a').write('[extensions]\nlargefiles=\n') self.append('b', 'a') - self.client.rawcommand(['add', 'b', '--large']) + try: + self.client.rawcommand(['add', 'b', '--large']) + except error.CommandError: + return + rev2, node2 = self.client.commit('third') # Go back to 0 self.client.rawcommand(['update', str(self.rev0)],