Age | Commit message (Collapse) | Author |
|
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: Mauro Carvalho Chehab <mchehab@infradead.org>
If you specify a push directory on .hg/hgrc as default-push, this will
be used to push patches to the repository. The old behaviour were an heritage
from the first hg approach, where all people were pushing at just one master.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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: Trent Piepho <xyzzy@speakeasy.org>
Faster script that doesn't use any temporary files. The old one
would also miss cleaning four spaces in a row in places where
it would clean one to eight spaces. Has two options:
fast
Only clean whitespace in files Hg thinks are modified or added. Used by
make whitespace and much (about 100x) faster.
manifest
Clean all files controlled by Hg, using "hg manifest"
The default with no options is the old behaviour, clean all files under
the linux directory, except CVS files.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
If I want to push a changeset to my own repo with "make push", I just
have to define the $REPO_PUSH env var.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This helps to avoid mistakes at commit messages
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Before, to use make commit, some env vars were required. Now, just using
HGUSER=Mauro Carvalho Chehab <mchehab@infradead.org>
is enough to gererate an useful log.
Readme updated to this new condition. Also added a warning about keeping
the first line in blank.
Readme visual improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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: Hans Verkuil <hverkuil@xs4all.nl>
Use the login name with the ssh URL. This allows you to use
make push, even if your local username differs from the repo
username.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
pull -u allows retriving info from master database and also update
local files.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This allows commiting at local tree first
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>
|
|
- Show Changelog entries relative to top-level cvs directory,
rather than v4l/ directory.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Updated script to function in new tree layout.
Must be called from top-level.
* ../Makefile:
- Automatically strip trailing whitespaces before
creating Changelog entry.
|
|
* ../Makefile:
- make changelog now rebuilds cardlist
* ../v4l/scripts/buildpatch:
- Updated to work against ../linux
* ../v4l/scripts/cardlist:
- fixed to work even without symlinks
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* ../Make
- created make changelog to make easier to generate patches.
* ../linux/drivers/media/video/cx88/cx88-core.c:
* ../linux/drivers/media/video/cx88/cx88.h:
* ../linux/kernel/drivers/usb/media/em2820-core.c:
* ../linux/kernel/drivers/usb/media/em2820-i2c.c:
* ../linux/kernel/drivers/usb/media/em2820-video.c:
* ../linux/kernel/drivers/usb/media/em2820.h:
- removed unneccessary includes.
* ../v4l/scripts/prepare-ChangeLog.pl:
- Modified to avoid detecting ChangeLog as a change.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|