开发者

Find out the earliest revision of a repository path?

开发者 https://www.devze.com 2023-03-29 09:48 出处:网络
I am trying to check out the earliest revision of a开发者_运维技巧 path.But the path does not exist in rev 1.Is there a way to find out in revision the path was created?svn log path | tail

I am trying to check out the earliest revision of a开发者_运维技巧 path. But the path does not exist in rev 1. Is there a way to find out in revision the path was created?


svn log path | tail

(docs). To get the revision automatically instead of manually filtering it out, use

svn log path --quiet | tail -n 2 | sed -n 's#^r\([0-9]*\) .*#\1#p'


You may use a reverse revision with svn log:

svn log -r 1:HEAD --limit 1

0

精彩评论

暂无评论...
验证码 换一张
取 消