[geany/geany-plugins] 7061c7: GeanyVC: Make plugin work toegether with subversion 1.7
Frank Lanitz
git-noreply at xxxxx
Wed Jun 5 18:44:15 UTC 2013
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Wed, 05 Jun 2013 18:44:15 UTC
Commit: 7061c747d9be1e62d21450c3ea8ecc113bb2d8af
https://github.com/geany/geany-plugins/commit/7061c747d9be1e62d21450c3ea8ecc113bb2d8af
Log Message:
-----------
GeanyVC: Make plugin work toegether with subversion 1.7
Modified Paths:
--------------
geanyvc/src/vc_svn.c
Modified: geanyvc/src/vc_svn.c
7 files changed, 6 insertions(+), 1 deletions(-)
===================================================================
@@ -158,7 +158,12 @@
break;
}
while (strcmp(base, base_prev) != 0);
-
+ if (base_prev == NULL)
+ {
+ /* fallback for Subversion 1.7: try to climb up the tree until we
+ * find a .svn subdirectory */
+ base_prev = find_subdir_path(path, ".svn");
+ }
g_free(base);
return base_prev;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list