Joakim Birgerson wrote on Mon, 26 May 2008 at 11:29 +0200:
> *Malformed XML output from svn status command*
>
> Hi all,
>
> Following the instruction on http://subversion.tigris.org/bugs.html, I'm
> pretty sure I've found a bug. Hope you agree and please advise if I'm
> expected to take additional actions.
>
Well... "Patches welcome."
If you're interested and have the time, see:
http://subversion.tigris.org/hacking.html#patches
Daniel
> *Svn version*
> 1.4.5 (r25188) compiled Sep 19 2007, 23:10:31
> Cygwin running on Windows XP
>
> *Summary*
> Malformed XML output when requesting status on a specific file.
> Suggested priority: P2
>
> *Background*
> I'm synchronizing a repository and a working copy. Periodically I'm
> collecting file information in the working copy looking for changes that
> automatically get synchronized with the repository. Since I'm using a file
> name filter to select which files goes into the repository, I'm only
> interested in status information on files that meet my filter criteria (i.e.
> I want to avoid a general "svn status --xml -u").
> *
> Example*
> Check out any repository (can be empty) and add (not 'svn add') a new
> directory *directory1 *containing a new file *file1.c*. Now request status
> on the file.
>
> /- root_wc_directory
> /- directory1
> /- file1.c
>
> *Command*
> svn status --xml -u directory1/file1.c
>
> *Response*
> <?xml version="1.0"?>
> <status>
> <target
> path="folder1/file1.c">
> svn: warning: 'folder1/file1.c' is not a working copy
> </status>
>
> *Bug 1:*
> The response doesn't contain a </target> termination tag
>
> *Bug 2:*
> Svn warning message appears within the xml message
>
>
> Kindest Regards,
> Joakim Birgerson
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-26 20:16:24 CEST