On Fri, 15 May 2009 09:31 -0400, "C. Michael Pilato"
> dave_rodgman_at_fastmail.co.uk wrote:
> > Hi,
> > I notice that svn ls appears to report size inaccurately:
> > svn cat http://.../file | wc -c
> > 1855
> > vs
> > svn ls --xml http://.../file
> > ...
> > <size>1710</size>
> [This is borderline off-topic for a list devoted to the development of
> 'svn cat' takes into account newline conversion and keyword expansion.
> if you're on Windows, it would be common for 'svn cat's output to contain
> double the end-of-line characters (since repository normal form is
> only, where Windows typical form is carriage-return + line-feed). And if
> there are keywords to be expanded client side, that adds more bulk. Does
> this explain your specific situation?
Ah, I'd forgotten about the keyword expansion. That explains it, thanks.
It's not clear that this is the right thing for svn to report though.
expansion is enabled by properties on the file, not by a particular
all well-behaved clients (I assume) must expand the keywords when
It seems wrong that when presenting the file in full (as in svn cat)
with keywords expanded, but not when presenting a summary of the file.
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
Received on 2009-05-15 15:45:15 CEST