print switched-to URL after a short svn switch

This commit is contained in:
Josh Holtrop 2011-01-21 09:40:30 -05:00
parent 6152ccc582
commit 74ed9ecdec

2
jsvn
View File

@ -166,6 +166,8 @@ def main(argv):
if argv[0] == "switch":
r = switch(argv, realsvn)
if r == 0:
Popen(realsvn + ' info | grep --color=none "^URL:"', shell = True).wait()
if r >= 0:
return r