diff options
author | Torgny Nyblom <kde@nyblom.org> | 2010-09-08 21:33:07 +0200 |
---|---|---|
committer | Torgny Nyblom <kde@nyblom.org> | 2010-09-08 21:33:07 +0200 |
commit | 5a955ba10bd32786fcbe570b4ae45418eaf51f19 (patch) | |
tree | d0f235a1c2f6cbcb5770cbfc866f3a0c02d49267 /src | |
parent | 4676a36759e225c5b737203f99980d6723ecb118 (diff) | |
download | svn2git-5a955ba10bd32786fcbe570b4ae45418eaf51f19.tar svn2git-5a955ba10bd32786fcbe570b4ae45418eaf51f19.tar.gz svn2git-5a955ba10bd32786fcbe570b4ae45418eaf51f19.tar.bz2 svn2git-5a955ba10bd32786fcbe570b4ae45418eaf51f19.tar.xz svn2git-5a955ba10bd32786fcbe570b4ae45418eaf51f19.zip |
Try and work around cvs2svn branching/tagging issues where the directory tree is not what it seems like
Diffstat (limited to 'src')
-rw-r--r-- | src/svn.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/svn.cpp b/src/svn.cpp index 90b63a7..cfa137e 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -749,6 +749,13 @@ int SvnRevision::recurse(const char *path, const svn_fs_path_change_t *change, // get the dir listing apr_hash_t *entries; + svn_node_kind_t kind; + SVN_ERR(svn_fs_check_path(&kind, fs_root, path, pool)); + if(kind == svn_node_none) { + qWarning() << "Trying to recurse using a nonexistant path" << path << ", ignoring"; + return EXIT_SUCCESS; + } + SVN_ERR(svn_fs_dir_entries(&entries, fs_root, path, pool)); AprAutoPool dirpool(pool); |