jsvn: use internal getSVNURL() instead of a call to grep
This commit is contained in:
parent
e3a8e72d58
commit
03fd50eb93
4
jsvn
4
jsvn
@ -447,8 +447,8 @@ def switch(argv, svn, out):
|
|||||||
switched = True
|
switched = True
|
||||||
break
|
break
|
||||||
if switched:
|
if switched:
|
||||||
Popen(svn + ' info | grep --color=none "^URL:"',
|
url = getSVNURL(svn)
|
||||||
shell=True, stdout=out).wait()
|
out.write('URL: %s\n' % url)
|
||||||
return RET_OK
|
return RET_OK
|
||||||
pout = Popen([svn] + argv, stdout=PIPE).stdout
|
pout = Popen([svn] + argv, stdout=PIPE).stdout
|
||||||
filter_update(pout, out)
|
filter_update(pout, out)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user