only use colorsvn for certain svn subcommands
This commit is contained in:
parent
9f1741bfcc
commit
5dcbb2b7a1
4
jsvn
4
jsvn
@ -197,8 +197,8 @@ def main(argv):
|
|||||||
sys.stdout.write(getSVNRoot(realsvn) + '\n')
|
sys.stdout.write(getSVNRoot(realsvn) + '\n')
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
if colorsvn != '':
|
if argv[0] in ('st', 'status', 'log'):
|
||||||
realsvn = colorsvn
|
realsvn = colorsvn
|
||||||
|
|
||||||
Popen([realsvn] + argv).wait()
|
Popen([realsvn] + argv).wait()
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user