开发者

Find out the earliest revision of a repository path?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜