docs: minor sgml syntax fix

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
config: restore mangled env in doctests

Otherwise the mangled GBP_CONF_FILES affects also other doctests when
run with python-nose.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository/diff: add 'stat' and 'summary' options

For getting diffstat and summary in the output.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: more verbose output in case of branch mismatch

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: fix env restore in teardown

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
import-orig: import readline in the common module

Useful common functionality.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: keep tmpdir if GBP_TESTS_NOCLEAN is in env

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.has_treeish: minor pylint fix

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.describe: add 'tags' and 'extra-match' options

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.fetch: Add 'refspec' option

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.fetch: Add 'all_remotes' option

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository: Add clean() method

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>