aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.cpp
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2010-07-12 00:46:33 +0530
committerRaja R Harinath <harinath@hurrynot.org>2010-07-12 00:46:33 +0530
commitd90465a37df3eb9769acf25294104a8c06053c30 (patch)
tree8e89a1b80e43cc68fad1f7d5bfb16e24ec108011 /src/ruleparser.cpp
parent2a7a37ff0f62f5dc06acf95d8084cd0521d6a651 (diff)
downloadsvn2git-d90465a37df3eb9769acf25294104a8c06053c30.tar
svn2git-d90465a37df3eb9769acf25294104a8c06053c30.tar.gz
svn2git-d90465a37df3eb9769acf25294104a8c06053c30.tar.bz2
svn2git-d90465a37df3eb9769acf25294104a8c06053c30.tar.xz
svn2git-d90465a37df3eb9769acf25294104a8c06053c30.zip
Handle branching better for branches that use "prefix" rules
When creating branches/tags off a branch that use "prefix" rules, svn2git used to create new commits rather than just copying the git ref over. This was due to SvnRevision::exportInteral() using 'path.isEmpty()' to determine if a change related to the whole branch or not. If a "prefix" rule is used, then 'path' will not be empty. We change it to instead look at how much of the change string was chomped up by the rule match. If the whole string was chomped up, it means that the change describes the whole branch.
Diffstat (limited to 'src/ruleparser.cpp')
0 files changed, 0 insertions, 0 deletions