Age | Commit message (Collapse) | Author |
|
From: Trent Piepho <xyzzy@speakeasy.org>
Annoyingly, the Hg mq extension will strip lines starting with "From: "
from the patch header. Since the v4l-dvb format commit message contains
a line starting with "From: ", it will mess them up.
This changes prep_commit_msg to create a decoy "from" line to keep mq from
messing up commit messages.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
Adds a qrefresh target to the top-level Makefile. It's like commit, but
for use with the Hg mq extension. It will execute hg qrefresh, so you
should have a current mq patch created with hg qnew already!
It will run the whitespace and cardlist scripts. If you do not have a
commit message from the current mq patch, it will create a default one,
as make commit does. If one already exists, then it will put a comment
at the beginning of the existing message with the current diffstat and a
note of any changes the whitespace script made. The diffstat is done
with qdiff, which will show the total diffstat of the patch instead of
just the diffstat of from the last version of the patch to the current
version.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
When parsing hgrc files, don't get confused by 'username' appearing in
other sections, like [smtp].
Check the repo's hgrc file first, then ~/.hgrc
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
When the make commit checks for whitespace errors, it will save a copy of
the changes it makes to $(TMP)/v4l_hg_whitespace. The prep_commit_msg.pl
script will look for this file and include a note in the prepared commit
message with diffstat output.
The changes that scripts/cardlist might make are not included, but that
can be added later.
The prep_commit_msg.pl script is effectively totally re-written. This one
will try some extra stuff to some up with the user's e-mail, such as
looking in the ~/.hgrc file.
The Makefile is changed so that temporary files created by make commit
and make whitespace will honor the $TMP environment variable, if set.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
- This patch removes ChangeLog file. with Mercurial, it can
be generated any time by running hg logs -v.
- Makefile and prep_commit_msg.pl updated to work without ChangeLog.
- Removed/Adapted instructions on README.HG about ChangeLog.
- prepare-Changelog.pl changed to just report one line. This might help
people to identify functions that were changed by a patchset.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
cvs commands replaced to hg
created a new script to help commiting
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|