Project

General

Profile

Bug #2960 ยป 0001-Fix-svn-revison-detection-of-git-based-repo-on-Windo.patch

Small patch to resolve the problem. - vvs (Vladimir Sizikov), 03/14/2010 07:35 PM

View differences:

tool/file2lastrev.rb
67 67
    register(".git")
68 68

  
69 69
    def get_revisions(path)
70
      logcmd = %Q[git log -n1 --grep='^ *git-svn-id: .*@[0-9][0-9]* ']
70
      logcmd = %Q[git log -n1 --grep="^ *git-svn-id: .*@[0-9][0-9]* "]
71 71
      idpat = /git-svn-id: .*?@(\d+) \S+\Z/
72 72
      super do
73 73
        last = `#{logcmd}`[idpat, 1]
74
-