Created
August 4, 2010 04:53
-
-
Save kmerenkov/507660 to your computer and use it in GitHub Desktop.
Colorful output from bzr grep plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file '__init__.py' | |
--- __init__.py 2008-01-20 20:07:02 +0000 | |
+++ __init__.py 2010-08-04 04:51:49 +0000 | |
@@ -141,11 +141,11 @@ | |
# bzr grep foo -- -i file | |
# and pass the -i through to grep. | |
+ files = [] | |
+ options = [u'--color=always'] | |
+ | |
if list is None: | |
- return [], [] | |
- | |
- files = [] | |
- options = [] | |
+ return options, files | |
while len(list) > 0: | |
item = list.pop(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment