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

Re: vcs_info and locales



Le 2010-05-19, Richard Hartmann <richih.mailinglist@xxxxxxxxx> a Ãcrit :
> On Sun, Apr 25, 2010 at 16:09, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> > Probably true. Although, I'd expect programs you can use for scripting
> > to use untempered byte sequences. But then, where is the boundary for
> > programs that are used for scripting and pure user-interface programs...
> > `svn info' is probably a pretty blurry example already.
> 
> While fixing locales is a viable workaround, the root cause is that svn
> is not able to present its information in a machine-readable way.
> 
> Would it be worthwhile to try and lobby svn etc to support something
> like --output text; --output xml (yah, yah, I know) etc?

`svn info --xml` is already there. Several other commands allow `--xml`,
especially `log`.

It might be irrelevant, but parsing XML could be quite slower, and vcs_info is
already quite slow with svn (no induced blame).

Regards
--
FranÃois



Messages sorted by: Reverse Date, Date, Thread, Author