From 3ac8628a077203403eee092e7bf5d20f5931260e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 24 Dec 2007 16:09:22 -0200 Subject: [PATCH] more information at the end of the revision export --- src/svn.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/svn.cpp b/src/svn.cpp index 826dd6c..8892cdc 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -341,6 +341,7 @@ int SvnPrivate::exportRevision(int revnum) void *value; apr_hash_this(i, &vkey, NULL, &value); const char *key = reinterpret_cast(vkey); + QString current = QString::fromUtf8(key); // was this copied from somewhere? svn_revnum_t rev_from; @@ -358,13 +359,10 @@ int SvnPrivate::exportRevision(int revnum) continue; } + current += '/'; qDebug() << " " << key << "was copied from" << path_from; } - QString current = QString::fromUtf8(key); - if (is_dir) - current += '/'; - // find the first rule that matches this pathname MatchRuleList::ConstIterator match = findMatchRule(matchRules, revnum, current); if (match != matchRules.constEnd()) { @@ -467,8 +465,10 @@ int SvnPrivate::exportRevision(int revnum) } revpool.clear(); - if (transactions.isEmpty()) + if (transactions.isEmpty()) { + printf("nothing to do\n"); return EXIT_SUCCESS; // no changes? + } // now create the commit apr_hash_t *revprops; @@ -497,6 +497,6 @@ int SvnPrivate::exportRevision(int revnum) delete txn; } - printf("\n"); + printf("done\n"); return EXIT_SUCCESS; } -- 2.45.0