[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #5990] commitinfo %m format character - log message
From: |
Yaron Yogev |
Subject: |
[patch #5990] commitinfo %m format character - log message |
Date: |
Mon, 04 Jun 2007 08:19:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070208 Iceweasel/2.0.0.2 (Debian-2.0.0.2+dfsg-3) |
URL:
<http://savannah.nongnu.org/patch/?5990>
Summary: commitinfo %m format character - log message
Project: Concurrent Versions System
Submitted by: yyogev
Submitted on: Monday 06/04/2007 at 08:19
Category: Feature (patch attached)
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed Release: None
Fixed Feature Release: None
_______________________________________________________
Details:
this patch adds a new %m format character to the commitinfo trigger to
provide the log message in escaped format.
what for ?
in order to enable selection of different validation behavior (e.g. bypassing
of validation in special cases), using the same commitinfo setup and the same
filter.
use case:
- I have hundreds of CSV files stored in CVS, saving users data.
- I want to make a wholesale change of format to these files.
- I have already made the change to the files, ran my own checks to verify
the format before committing, and now I want to commit it.
- the usual validation checks will take a very long time for this kind of
commit, so I would like to skip them. However, I do not want to mess with the
commitinfo file as other people continue their work on other files and I would
like validation to be performed as usual for what they commit.
- in my log message, I will signal that validation is to be skipped using
some keyword that the filter will recognize. example message:
change to new format
OPTION: SKIP_VALIDATION
as I have found, users sometimes include quotes inside their log messages.
e.g.
"new splash screen for 'killer feature' demo"
however, shell_escape() had a bug which caused quotes and double quotes to be
treated as the same.
to fix this, a fix in src/run.c to function shell_escape() is included. this
will handle the case of quotes inside quotes.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 06/04/2007 at 08:19 Name: patch_cvs_commitinfo_log_message.diff
Size: 6kB By: yyogev
<http://savannah.nongnu.org/patch/download.php?file_id=12943>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5990>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #5990] commitinfo %m format character - log message,
Yaron Yogev <=