[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [SVN Users] SVN Status Command Line in 1.8 vs 1.7

From: Matt McCullough <matt_mccullough_at_meditech.com>
Date: Wed, 5 Mar 2014 09:52:49 -0500

Perhaps use the --XML arg?

On Wednesday, March 5, 2014, Forest Handford <fhandford_at_meditech.com> wrote:

> A colleague of mine and I discovered that the location of the working
> revision (working_rev) in 1.8.3 is different from 1.7.12 . We are both
> using svn.exe from the TortoiseSVN package on Windows. In 1.7 he gets the
> following:
>
> M 1167395 1164911 FHANDFORD
> C:\ProgramData\Meditech\MTCM.Universe\MTCM.DEVF.Ring\!AllUsers\Sys\PgmCache\Ring\PgmSource\Foc\FocZ.Subversion.C.focus
>
> In 1.8 I get:
>
> M 1167395 1164911 FHANDFORD FocZ.Subversion.C.focus
>
>
> C:\ProgramData\MEDITECH\MTCM.Universe\MTCM.DEVF.Ring\!AllUsers\Sys\PgmCache\Ring
>
> Notice how in 1.8 working_rev is one character further left. I took a
> peak at
> http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/status.c?view=markupin various revisions since march 2013. The svn_cmdline_printf() call in
> print_status() appears to be consistent. working_rev also seems to be
> consistently set using apr_psprintf(pool, "%ld", status->revision). We
> can parse it correctly with either position, but worry that the position
> may arbitrarily change in the future causing future parsing to fail. As an
> example, if it moved yet another space to the left, we would lose the left
> most digit. Any ideas?
>
> Thanks,
> Forest
> --
> Forest Handford, Supervisor Development, 781-774-5148
> Medical Information Technology, Inc.
> Mailstop: S4W186W, MEDITECH Circle, Westwood, MA 02090
>
> --
> You received this message because you are subscribed to the Google Groups
> "SVN Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to svn-users-group+unsubscribe_at_meditech.com<javascript:_e(%7B%7D,'cvml','svn-users-group%2Bunsubscribe_at_meditech.com');>
> .
> Visit this group at
> http://groups.google.com/a/meditech.com/group/svn-users-group/.
>
Received on 2014-03-05 16:31:30 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.