• R/O
  • SSH
  • HTTPS

fsvn: 提交


Commit MetaInfo

修訂314 (tree)
時間2014-09-21 22:51:36
作者mhayashi1120

Log Message

fix problem

Change Summary

差異

--- trunk/ChangeLog (revision 313)
+++ trunk/ChangeLog (revision 314)
@@ -1,3 +1,7 @@
1+2014-09-12 Masahiro Hayashi (林 雅博) <mhayashi1120@gmail.com>
2+
3+ * Fix: before 1.7, handle meta directory.
4+
15 2014-06-09 Masahiro Hayashi (林 雅博) <mhayashi1120@gmail.com>
26
37 * Fix: guard if local working copy is not under a svn.
--- trunk/fsvn-deps.el (revision 313)
+++ trunk/fsvn-deps.el (revision 314)
@@ -786,7 +786,10 @@
786786 (defun fsvn-file-control-directory (file)
787787 (cond
788788 ((version< fsvn-svn-version "1.7.0")
789- (let ((control (fsvn-expand-file (fsvn-meta-dir-name) file)))
789+ (let* ((dir (if (fsvn-file-exact-directory-p file)
790+ file
791+ (fsvn-file-name-directory file)))
792+ (control (fsvn-expand-file (fsvn-meta-dir-name) dir)))
790793 (and (fsvn-file-exact-directory-p control)
791794 control)))
792795 ((string-match (format "/%s\\($\\|/\\)" (regexp-quote (fsvn-meta-dir-name))) file)
Show on old repository browser