aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/svn.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}
}