added "root" subcommand

This commit is contained in:
Josh Holtrop 2011-01-25 11:50:26 -05:00
parent 302485901d
commit a2ef570bfc

4
jsvn
View File

@ -185,6 +185,10 @@ def main(argv):
Popen([colordiff], stdin=diff_out).wait()
return 0
if argv[0] == "root":
sys.stdout.write(getSVNRoot(realsvn) + '\n')
return 0
if colorsvn != '':
realsvn = colorsvn