Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Submitting vcs_info function
- X-seq: zsh-users 13231
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: Submitting vcs_info function
- Date: Wed, 17 Sep 2008 17:28:32 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=d200807; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=R+W5tXalEYy9QDNSz5sEZy8bJMHmCZVmjV50O6T1m/vdrANIfFI/JLXUCTZYYLjgXdTwUbCDC1CQ3Jy0vuVT2wKANqbZbf8SI5qm7EyRwHH8icEkCqVmtwyASQ4Ecv8F4pRmrKOUFGWcjCFsfGK+PCGQ3BP2viVTXGy+x2/apY4=;
- In-reply-to: <20080917235855.GW2182@xxxxxxxxxxxxxxx>
- Mail-followup-to: zsh users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080917201859.GU2182@xxxxxxxxxxxxxxx> <20080917233423.GA26158@xxxxxxxxxxxxxxxxxxxx> <20080917235855.GW2182@xxxxxxxxxxxxxxx>
On 2008-09-18 at 01:58 +0200, Frank Terbeck wrote:
> Well, how deep are your typical repositories? Do they go a lot
> further then, say, five levels?
Probably not, but stopping at the UUID change is fine. I think that I
dealt with all of my stated problems, except the repeated invocation of
svn info, in my supplied replacement. :)
> > Also, I don't believe that "svn info" makes any guarantees about output
> > ordering.
>
> That would be unfortunate. I wouldn't mind, if there would be another
> more machine-friendly way to extract the information... But that would
> have to be done by a subversion-dev.
*cough* Define machine-friendly? The canonical method supported by
Subversion is to use XML.
svn info --xml
I'm not inclined to parse that in zsh.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author