From 96305273fb80f186fe8a1cf7b721e492d65624bd Mon Sep 17 00:00:00 2001 From: "Marc Guenther marcguenther@me.com" Date: Wed, 14 Apr 2010 13:10:29 +0200 Subject: 'prefix' rule didn't allow \1 \2 replacements --- src/svn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/svn.cpp b/src/svn.cpp index 3435683..1bc108b 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -219,7 +219,8 @@ static void splitPathName(const Rules::Match &rule, const QString &pathName, QSt QString path = pathName.mid(svnprefix.length()); if( !path.isEmpty() && !rule.prefix.isEmpty() ) path.prepend('/'); - *path_p = rule.prefix + path; + QString prefix = svnprefix.replace(rule.rx, rule.prefix); + *path_p = prefix + path; } } -- cgit v1.2.1