[opensuse] Re: howto - better quick and dirty way to get svn rev of local copy?
David C. Rankin wrote:
Guys,
I want a quick and dirty want to get the svn revision of a local svn module. What I'm currently doing is:
It works fine, but is there a standard way (no not svnversion) to read the local version other than the backwards way I'm doing it?
Ahem ... svnversion *is* the standard way. You would have to explain first why you can't use it; i.e., what are your constraints concerning your personal definition of `SVN standard'. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/16/2011 07:23 PM, Joachim Schrod wrote:
Ahem ... svnversion *is* the standard way.
You would have to explain first why you can't use it; i.e., what are your constraints concerning your personal definition of `SVN standard'.
Joachim
Ahem -- you're right, as usual. I was just looking for a way to parse the .svn/entries file and get the same info without any additional program calls. Not a serious constraint - more of a "can I dork with it and get what I need from a simple shell script call" :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Joachim Schrod