Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F1FD109BC for ; Thu, 3 Oct 2013 19:14:07 +0000 (UTC) Received: (qmail 72626 invoked by uid 500); 3 Oct 2013 19:14:06 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 72140 invoked by uid 500); 3 Oct 2013 19:13:59 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 72071 invoked by uid 99); 3 Oct 2013 19:13:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 19:13:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dlellis@rockwellcollins.com designates 205.175.225.240 as permitted sender) Received: from [205.175.225.240] (HELO secvs01.rockwellcollins.com) (205.175.225.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 19:13:50 +0000 Received: from nosuchhost.198.131.in-addr.arpa (HELO collinscrsmtp02.rockwellcollins.com) ([131.198.63.133]) by mail-virt.rockwellcollins.com with ESMTP; 03 Oct 2013 14:02:45 -0500 X-Disclaimed: 38602 To: users@subversion.apache.org MIME-Version: 1.0 Subject: Programatically determine revision of commit X-KeepSent: 3E1F9DC3:D0696308-88257BF9:006761D8; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.2FP2 March 23, 2011 From: dlellis@rockwellcollins.com Message-ID: Date: Thu, 3 Oct 2013 12:02:44 -0700 X-MIMETrack: Serialize by Router on CollinsCRSMTP02/CedarRapids/RockwellCollins(Release 8.5.2FP2 HF162|May 16, 2011) at 10/03/2013 02:02:44 PM, Serialize complete at 10/03/2013 02:02:44 PM Content-Type: multipart/alternative; boundary="=_alternative 00689ECF88257BF9_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_alternative 00689ECF88257BF9_= Content-Type: text/plain; charset="US-ASCII" Hi, We're attempting to write some scripts to perform automatic commits for certain files under certain conditions. We wish to use the just committed revision number to perform some other logging operation. The --xml command line option on many of the other commands (info, status, etc.) are fantastic, but the commit command does not allow this. I'm currently attempting to parse the standard output of the commit message to grab it, but feel this is less than optima as it seems very error prone. Is there any consideration to add an --xml option to the commit command output or a better programmatic means to grab the commit revision? c:\Project_files\sandbox_v2>svn commit 1.txt -m "Checkin message". Sending 1.txt Transmitting file data . Committed revision 3272. c:\Project_files\sandbox_v2> Thanks, Dan --=_alternative 00689ECF88257BF9_= Content-Type: text/html; charset="US-ASCII" Hi,

We're attempting to write some scripts to perform automatic commits for certain files under certain conditions.  We wish to use the just committed revision number to perform some other logging operation.  The --xml command line option on many of the other commands (info, status, etc.) are fantastic, but the commit command does not allow this.

I'm currently attempting to parse the standard output of the commit message to grab it, but feel this is less than optima as it seems very error prone.

Is there any consideration to add an --xml option to the commit command output or a better programmatic means to grab the commit revision?

c:\Project_files\sandbox_v2>svn commit 1.txt -m "Checkin message".
Sending        1.txt
Transmitting file data .
Committed revision 3272.

c:\Project_files\sandbox_v2>

Thanks,
Dan
--=_alternative 00689ECF88257BF9_=--