Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Submitting vcs_info function



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