Re: sys/conf/newvers.sh vs. subversion-1.7

看板FB_current作者時間14年前 (2011/10/22 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/33 (看更多)
On 10/21/2011 22:42, Craig Rodrigues wrote: > Hi, > > I tried following: > > (1) Run svnversion in non-svn directory: > > return status == 0 Return status isn't everything. :) > prints out "exported" In my case (1.7) it says "Unversioned directory" But my point (which perhaps I should have made more explicit) is that given the fact that svnversion handles non-svn directories gracefully it's faster (simpler, etc.) to just run foo=`svnversion` and then make sure that $foo is rational than it is to run 2 commands. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EefHXJ9 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EefHXJ9 (FB_current)