| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
implementation in the end whether pipeing large input works. In general , input and output pipes are used, the shell is bypassed, hence there is no reason for a problem unless we are on a very rare platform. And if so, we can't do anything about it so why should there be a possibly failing test ? Problem is that the test would fail on windows in case it is not installed on c:\windows
|
|
|
|
| |
appropriate
|
|
|
|
| |
possible input ref - the objects pointed to by refs are now baked on demand - perhaps it should change to always be re-retrieved using a property as it is relatively fast - this way refs can always be cached
|
|
|
|
| |
information retrieval
|
|
|
|
| |
editor to work with the files properly. Can convert it back for releaes
|
| |
|
|
|
|
|
| |
doesn't need to do the same boring replacing I did.
(cherry picked from commit 10c62aa69193a8bc7b46ca24c2ad1d5008489665)
|
|
|
|
| |
One bug remaining: git on windows is returning status 0 for `git this-does-not-exist`, so no GitCommandError is raised.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
removed the combined output of stderr and stdout.
Also renamed with_status to extended_output.
The method_missing function needs to be modified, as it does a kwargs.pop(xxx, None); which resulted in with_excpetions=None -> False all the time...
Test should follow tomorrow.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|/
|
|
| |
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
| |
assert_true instead because optimized python won't see asserts.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
This test case ensures that cmd.execute can always handle
large command outputs. This test does so by reading a 700k
file into memory.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes people run development versions of git.
On these versions, "git version" returns, for example:
git version 1.5.4.rc2.1105.gfc5f2
The test_it_executes_git_to_shell_and_returns_result
testcase was updated to accept these versions of git.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
| |
|
| |
|
|
|
|
| |
up tests so they pass except for stderr test. Modified version information retrieval.
|
|
|
|
|
|
|
|
| |
This test ensures that trailing whitespace is preserved
when git.foo( with_raw_output=True ) is called, and vice
versa.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
This test ensures that stderr is merged into stdout when
git.foo( with_stderr=True ) is called.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
This test ensures that a GitCommandError is raised when git
returns a non-zero exit status.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
| |
test_git.py now tests the new git.foo( with_status=True )
mechanism.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This test runs the equivalent of:
"git hash-object < fixtures/cat_file_blob"
with the new istream mechanism and compares the computed hash.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
|
|
|
|
| |
The previous commit changed the way transform_kwargs handles
single-character flags with arguments. This commit updates the
testcase accordingly.
Signed-off-by: David Aguilar <davvid@gmail.com>
|
|
|
|
| |
Also removed the shell_escape tests...
|
| |
|
| |
|
|
|