How do you determine the latest SVN revision number rooted in a directory?

前端 未结 10 1700
北恋
北恋 2020-12-02 15:45

I would like to start tagging my deployed binaries with the latest SVN revision number.

However, because SVN is file-based and not directory/project-based, I need to

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 16:00

    Duplicate of this question. As I posted there, the svnversion command is your friend. No need to parse the output, no need to update first, just does the job.

提交回复
热议问题