Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在构建一个 phing 部署脚本,我首先要求用户输入要从 svn 部署的修订/标签。
当用户输入例如 0.1 时,我想检查(使用 linux 脚本或从 svn 本身)如果这个 0.1 版本确实存在。如果它不存在,我想打印一个错误并停止。
您可以使用SVN info命令获取有关文件夹、文件、主干、分支、标签的信息。