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

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Sat, 22 Oct 2011 12:24:41 -0700
On Oct 22, 2011, at 12:13 PM, Doug Barton wrote:

> On 10/22/2011 12:07, Boris Samorodov wrote:
>> 22.10.2011 22:12, Doug Barton пишет:
>>> On 10/22/2011 08:29, Garrett Cooper wrote:
>>>> $(svn info | awk '/^Revision:/ {print $2}')
>>> 
>>> 2 subshells and a pipe for this, vs. only 1 subshell for just running
>>> svnversion.
>>> 
>>> Anyone else want to propose a more complex solution when a simple and
>>> more effective one already exists? :)
>> 
>> I'm not an exert here, so I'm not sure which one and why did you call
>> "simple and more effective":
> 
> Please read the rest of this thread, where the fact that svnversion does
> more than what 'svn info' does, and that people find the more that it
> does to be useful.
> 
> So "simpler" is "one command, not 2 or more," and "more effective" is
> "provides more information, and people find that extra information
> useful." :)

I was just offering an alternative (improperly timed), and as dougb_at_ pointed out, svnversion works better.
Thanks,
-Garrett
Received on Sat Oct 22 2011 - 17:24:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC