# HG changeset patch # User Matt Mackall # Date 1367871460 18000 # Node ID 8867908fe8c751dc0aef6194dd401ae08a4931f3 # Parent 2e2055fc66c35b7a00736da653e7db6c6a5599e6 tests: deal with missing largefiles support for 1.9 diff -r 2e2055fc66c3 -r 8867908fe8c7 tests/test-update.py --- 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)],