From aaca59f2a0c2ab423fd077967893c7bc76f8018e Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 6 Mar 2007 15:44:03 +0000 Subject: [PATCH] Don't blindly rely on the "character position" of the data we need, 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 --- bin/repoman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/repoman b/bin/repoman index d91fbb035..c785d0a15 100755 --- a/bin/repoman +++ b/bin/repoman @@ -436,8 +436,8 @@ if os.path.isdir(".svn"): 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. -- 2.26.2