diff options
author | Lingchaox Xin <lingchaox.xin@intel.com> | 2013-07-10 11:17:46 +0800 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-09-04 22:34:01 +0200 |
commit | 1320de2ae2434a89979f1c753fdef67ddcfb4aea (patch) | |
tree | c29be5810f1690b732520b4682d2cd49c8831db4 /tests/test_GitRepository.py | |
parent | eca5a3365c5461519fd23ab2e85e5de9195da007 (diff) |
GitRepository.fetch: Add 'refspec' option
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r-- | tests/test_GitRepository.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 24bdae26..2ee550ec 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -600,6 +600,7 @@ def test_fetch(): >>> clone.add_remote_repo('foo', repo_dir) >>> clone.fetch('foo') >>> clone.fetch('foo', tags=True) + >>> clone.fetch('foo', refspec='refs/heads/master') >>> clone.remove_remote_repo('foo') """ |