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
精彩评论