annotate mercurial/cffi/diffhelpers.py @ 33125:acfce52518c4
tests: do not use system hg if it does not have "files" command
Ancient hg does not have "hg files" so test-check-*.t will fail with
"unknown command 'files'":
$ hg files
hg: unknown command 'files'
$ hg --version
Mercurial Distributed SCM (version 2.6.2)
Test "hg files" and give up using syshg if it does not have "files" command.
author |
Jun Wu <quark@fb.com> |
date |
Wed, 28 Jun 2017 13:45:51 -0700 |
parents |
0e8b0b9a7acc |
children |
|
rev |
line source |
32512
|
1 # diffhelpers.py - pure Python implementation of diffhelpers.c
|
|
2 #
|
|
3 # Copyright 2009 Matt Mackall <mpm@selenic.com> and others
|
|
4 #
|
|
5 # This software may be used and distributed according to the terms of the
|
|
6 # GNU General Public License version 2 or any later version.
|
|
7
|
|
8 from __future__ import absolute_import
|
|
9
|
|
10 from ..pure.diffhelpers import *
|