diff options
author | Torgny Nyblom <kde@nyblom.org> | 2010-05-03 20:07:04 +0200 |
---|---|---|
committer | Torgny Nyblom <kde@nyblom.org> | 2010-05-03 20:07:04 +0200 |
commit | 80d1c990170ac8771da9607cdcf498f57996a949 (patch) | |
tree | 8b60907d29d3ecd560ee3d827369a672c4f8c7d9 | |
parent | 64a45f529c6e3e08b2ddbb1b23870d89a3a62cd3 (diff) | |
download | svn2git-80d1c990170ac8771da9607cdcf498f57996a949.tar svn2git-80d1c990170ac8771da9607cdcf498f57996a949.tar.gz svn2git-80d1c990170ac8771da9607cdcf498f57996a949.tar.bz2 svn2git-80d1c990170ac8771da9607cdcf498f57996a949.tar.xz svn2git-80d1c990170ac8771da9607cdcf498f57996a949.zip |
Fix svn.replace
-rw-r--r-- | src/svn.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/svn.cpp b/src/svn.cpp index 0e7a1b7..bb00214 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -509,16 +509,16 @@ int SvnRevision::exportEntry(const char *key, const svn_fs_path_change_t *change svn_boolean_t is_dir; SVN_ERR(svn_fs_is_dir(&is_dir, fs_root, key, revpool)); if (is_dir) { + current += '/'; if (change->change_kind == svn_fs_path_change_modify || change->change_kind == svn_fs_path_change_add) { if (path_from == NULL) { - // freshly added directory, or modified properties - // Git doesn't handle directories, so we don't either - //qDebug() << " mkdir ignored:" << key; - return EXIT_SUCCESS; + // freshly added directory, or modified properties + // Git doesn't handle directories, so we don't either + //qDebug() << " mkdir ignored:" << key; + return EXIT_SUCCESS; } - current += '/'; qDebug() << " " << key << "was copied from" << path_from << "rev" << rev_from; } else if (change->change_kind == svn_fs_path_change_delete) { qDebug() << " " << key << "was deleted"; |