Buck Ryan
feb9c8550e
fix bug in svn segment
2018-07-01 21:13:15 -04:00
Buck Ryan
d095a2f3d5
fix tests and new test dockerfile
2018-06-21 21:26:40 -04:00
Buck Ryan
6eff2101be
Merge pull request #354 from comagnaw/fix_hostname_colorize
...
Fix hostname colorize
2018-04-21 15:59:07 -04:00
Alvaro Bernal
31bd259e9d
Fix git_stash segment test failure
2018-04-20 14:13:58 +01:00
Alex Pinkney
709c5ba215
Add git_stash segment
2018-03-20 13:16:28 +00:00
Alex Pinkney
fc62b0f888
Move get_PATH and x_subprocess_env functions into utils.py
2018-03-20 13:09:48 +00:00
Buck Ryan
27574cc79b
Fix tests and some py2/py3 issues
2018-02-19 10:45:02 -05:00
comagnaw
0bca50bb18
Adding getOppositeColor unittest.
2018-02-03 23:08:36 -05:00
Buck Ryan
365a6d9a02
Merge pull request #288 from emansije/hg-repostats
...
Redo hg segment to use RepoStats
2017-10-01 20:38:30 -04:00
Buck Ryan
b171d176c4
Merge pull request #294 from emansije/bzr-tests
...
Adds tests for bzr segment
2017-10-01 20:33:27 -04:00
Emanuel Angelo
d3b859a0f5
Completes the new branch creation test for the fossil segment
2017-10-01 20:28:53 +01:00
Emanuel Angelo
fbdb261d93
Completes the test for creating a new branch in mercurial for the hg segment
2017-10-01 20:07:08 +01:00
Emanuel Angelo
1326d47c39
Adds tests for bzr segment
2017-10-01 19:52:15 +01:00
Emanuel Angelo
8c9cd06ea3
Adds tests for the hg segment using RepoStats
2017-10-01 17:36:17 +01:00
Buck Ryan
ebb7187f04
Update parsing tests
2017-09-26 11:06:44 -04:00
Emanuel Angelo
b6c714253d
Adds test for fossil segment
...
It implies going from a threaded segment to a basic one, otherwise it throws a
RuntimeError: threads can only be started once
2017-09-26 02:42:00 +01:00
Emanuel Angelo
0601b47b41
Fixes bug in test/repostats_test.py
2017-09-26 02:33:02 +01:00
Emanuel Angelo
30c5bdad46
Changes tests accordingly
2017-09-14 01:13:27 +01:00
Buck Ryan
7ad2bc28a6
Redo svn segment to use RepoStats
...
Closes https://github.com/banga/powerline-shell/pull/105
2017-09-10 21:01:38 -04:00
Buck Ryan
0b02a4baad
tests and fixes for hg segment
2017-09-05 21:42:58 -04:00
Buck Ryan
c3506d075e
tests for hostname segment
2017-09-05 10:31:10 -04:00
Buck Ryan
46f992d9f7
Fix tests
2017-08-26 20:30:59 -04:00
Buck Ryan
fafd37babb
Convert many segments to new class-based code
2017-08-26 17:46:46 -04:00
Buck Ryan
2989b1e406
convert all the code into a proper package
2017-08-26 15:49:02 -04:00
Buck Ryan
7681a384bb
no need for a ternary
2016-04-01 14:25:05 -04:00
Buck Ryan
e5a1c74963
Moved all repo stats code from git.py to the base
...
When all of the new code to provide more interesting stats was added to
git.py, it was not very re-usable. A few pull requests could use it
though. In particular, #105 adds more info to the svn segment and #210
does the same for mercurial. I would rather not create inconsistencies
among these segments or have them duplicate code. Moving it into the
base file creates a place where each segment can access it and have a
consistent behavior.
2015-12-27 13:22:39 -05:00
Buck Ryan
acd0e081b6
convert uptime comments into test cases
2015-12-26 13:14:15 -05:00
Buck Ryan
c22d1af48b
add tests for the git segment
2015-12-26 13:13:53 -05:00
Buck Ryan
78f39d2951
Rewrite the cwd function to not follow symlinks
...
As part of the commit I also set up unit testing
2015-07-31 21:16:34 -04:00