* プロパティの更新だけコミットする [#e6be6b54]
** 前提 [#ef022e9e]
- あるディレクトリにsvn:ignoreを設定する。
- 現在以下のような状態にあるとする。
- この時、svn:ignoreの修正だけをコミットしたい。
$ svn propset svn:ignore 'README.txt' .
]$ svn st
M .
M 1.txt
? 2.txt
M A/3.txt
** 方法 [#ia919d15]
- オプション--depth emptyを付加してコミットする。
- すると、他の修正(1.txtや3.txt)はコミットされsvn:ignoreだけコミットされる。
$ svn commit --depth empty . -m 'Set svn:ignore property'
$ ]$ svn st
M 1.txt
? 2.txt
M A/3.txt
** 参考 [#k1923d82]
https://stackoverflow.com/questions/2224814/commit-only-property-changes-on-root-of-repo-not-files