Re: svn log fails (invalid xml) when piped to less
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-09 01:05:39 CET
Jani Averbach wrote:
What can be the difference between those two invocations? The pipe to "less" can get broken if you quit from "less", but that normally gives a different error so I assume you are scrolling to the end of the file. If you pipe the output to a program like "tail" that reads all of the input but doesn't interact with the user, does the same happen? If not, how about "head" which will read a bit and then break the pipe? One of those would be better than "less" in a reproduction recipe.
Another possible difference between stdout to a pipe and stdout to the console is, on Windows at least, they can be using different character encodings. Are you running on Windows?
> The repository has been converted from cvs to svn by cvs2svn, and it
It may be another story, but it may be related to this problem. Are the non-ASCII characters in log messages, in file names, or in file contents?
> I will try dig this more during next
As usual, if you could make a small reproduction recipe, that would be great. Also, it might be helpful to capture a trace of the comms protocol.
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.