because in locales other than C this makes completely no sense. Instead
(because my python skills are far from good) split on the colon and take
the righthand side.
svn path=/main/branches/prefix/; revision=6185
try:
isSvn=True
myrepoinfo = os.popen("svn info").readlines()
- myurl = myrepoinfo[1][5:].rstrip()
- myreproot = myrepoinfo[2][17:].rstrip()
+ myurl = myrepoinfo[1].split(":")[1].rstrip()
+ myreproot = myrepoinfo[2].split(":")[1].rstrip()
# This one is EVIL, but I don't know how to solve the problem of
# getting rid of /trunk/prefix-overlay. This only works on the
# prefix overlay.