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

[PATCH] Make commit preformatted message have 78 characters wide

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-07-12 01:14:43 CEST

Hi !

This is a smallish patch that changes the look of the commit message
prefix, when the message is to be edited. Instead of just printing "This
line and ...", it marks out 78 characters wide, thereby allowing a
committer to format the message according to this width.

Please note that I have not compiled or tested this. I do not have
access to VS. But, such a simple change should not break anything, I
hope :)

Also, I did not find any tests to update.

* subversion/clients/cmdline/util.c:
  Changed the EDITOR_EOF_PREFIX to show 78 characters wide, allowing a
  committer to format the message accordingly.

Index: subversion/clients/cmdline/util.c
--- subversion/clients/cmdline/util.c (revision 6453)
+++ subversion/clients/cmdline/util.c (working copy)
@@ -414,7 +414,7 @@
-#define EDITOR_EOF_PREFIX "--This line, and those below, will be
+#define EDITOR_EOF_PREFIX "--This line, and those below, will be
ignored --"
 /* This function is of type svn_client_get_commit_log_t. */
 svn_error_t *

  Francois Beausoleil
  Developer of Java Gui Builder
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 12 01:15:38 2003

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.