[PATCH] D35532: [CMake] Update GetSVN.cmake to handle Repo

MinSeong KIM via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 9 07:19:31 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL312864: [CMake] Update GetSVN.cmake to handle repo (authored by MinSeongKIM).

Changed prior to commit:
  https://reviews.llvm.org/D35532?vs=107024&id=114487#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35532

Files:
  llvm/trunk/cmake/modules/GetSVN.cmake


Index: llvm/trunk/cmake/modules/GetSVN.cmake
===================================================================
--- llvm/trunk/cmake/modules/GetSVN.cmake
+++ llvm/trunk/cmake/modules/GetSVN.cmake
@@ -84,7 +84,7 @@
 function(get_source_info path revision repository)
   if (EXISTS "${path}/.svn")
     get_source_info_svn("${path}" revision repository)
-  elseif (EXISTS "${path}/.git/svn")
+  elseif (EXISTS "${path}/.git/svn/refs")
     get_source_info_git_svn("${path}" revision repository)
   elseif (EXISTS "${path}/.git")
     get_source_info_git("${path}" revision repository)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35532.114487.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170909/c494c1e5/attachment.bin>


More information about the llvm-commits mailing list