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

revision number output in 'svn mergeinfo' command

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Sat, 05 Apr 2008 10:03:48 -0400

I have a simple, self-explanatory patch I'd like to apply & backport,
for consistency in how we present revision numbers. Anyone think this
is nuts?

[[[
Brand management: when printing out revision numbers, use the "r" prefix.

* subversion/svn/mergeinfo-cmd.c
  (print_log_rev): Make it so.
]]]

Index: subversion/svn/mergeinfo-cmd.c
===================================================================
--- subversion/svn/mergeinfo-cmd.c (revision 30326)
+++ subversion/svn/mergeinfo-cmd.c (working copy)
@@ -43,7 +43,7 @@
               svn_log_entry_t *log_entry,
               apr_pool_t *pool)
 {
- svn_cmdline_printf(pool, "%ld\n", log_entry->revision);
+ svn_cmdline_printf(pool, "r%ld\n", log_entry->revision);
   return SVN_NO_ERROR;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-05 16:03:58 CEST

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.