私はsvnantを使用しており、ステータスタスクを使用しています。
tortoisesvn statusリポジトリのコマンド プロンプトで をwindows 7使用するとbasedir、次のようになります。
M Build\build.xml
M Build\otherStuff.txt
しかし、svnant の statusタスクを使用すると、次のようになります。
svn.status.textStatusProperty = normal
svn.status.propStatusProperty = normal
私はそれがこれを返すことを期待します:
svn.status.textStatusProperty = modified
svn.status.propStatusProperty = modified
ディレクトリに移動しBuildて同じことを行うと、次のようになりますtortoisesvn。
M build.xml
M otherStuff.txt
そして、svnant の statusタスクを使用すると、次のようになります。
svn.status.textStatusProperty = unversioned
svn.status.propStatusProperty = non-svn
Buildディレクトリは間違いなくバージョン管理されているため、これは本当に奇妙です。
何が起こっている?私は何を間違っていますか?
svn リポジトリのローカル コピーで変更を確認する簡単な方法を見つけようとしています。wcversionについては知っていますが、そのタスクの実行に時間がかかりすぎます。私はもっと速い何かを使うことを望んでいました。
シナリオ用の私のコードです。シナリオ間で変更されるのはpath="${basedir}". basedirまたはBuildディレクトリを指すように変更されます。はbasedir私のレポベースです。
<svnSetting
svnkit="false"
javahl="false"
id="svn.settings"/>
<svn refid="svn.settings">
<status
path="${basedir}"
textStatusProperty="testStatus.textStatus"
propStatusProperty="testStatus.propStatus"
/>
</svn>
<echo>svn.status.textStatusProperty = ${testStatus.textStatus}</echo>
<echo>svn.status.propStatusProperty = ${testStatus.propStatus}</echo></echo>