Tag: Subversion

コマンド

diff

Xcode

macOS

クライアント

Cornerstone (MacOSX)

Xversion

Versions

VisualStudioCode

Homebrew

トラブル

  1. 問題:下記のエラーが発生する。(2022/04/23 Monterey)
    $ /usr/local/Cellar/subversion/1.14.2.reinstall/bin/svn    
    dyld[73198]: Symbol not found: _apr_crypto_block_cleanup
     Referenced from: /usr/local/Cellar/subversion/1.14.2/lib/libsvn_subr-1.0.dylib
     Expected in: /usr/lib/libaprutil-1.0.dylib
    • 対処:必須ライブラリの再インストールで解消した。
      $ brew reinstall apr-util

Apache設定

<Location /svn>
  DAV svn
  SVNListParentPath on
  SVNParentPath "/Users/foo/data/svn"
  SVNIndexXSLT /svnindex.xsl

  Order deny,allow
  Deny from all
  allow from 127.0.0.1

  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /Users/foo/data/users
  Require valid-user
</Location>

コミットログ

lines = `svn log --limit 10 --verbose http://server/svn/`
mail_body = ""
lines.each{|line|
  if /^-+$/ =~ line
    mail_body << line
    puts mail_body
    mail_body = ""
 end
 if /^r(\d+).*(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).*line.?$/ =~ line
    mail_header = "Commit revision:" + $1 + " (" +$2 + ")"
    puts mail_header
  end
  mail_body << line
}

文字コード

関連


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS