summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2006-07-30Make push will push at the dir specified on .hg/hgrcMauro Carvalho Chehab
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>
2006-06-22Have the commit auto-check code tell you when it does somethingMauro Carvalho Chehab
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>
2006-06-20Faster strip whitespace cleaning scriptMauro Carvalho Chehab
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>
2006-02-12The hg push repo can be defined in the envRicardo Cerqueira
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>
2006-01-30Now, after commiting, it will show log messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This helps to avoid mistakes at commit messages Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-30removed requirement for CHANGE_LOG_* env varsMauro Carvalho Chehab
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>
2006-01-29ChangeLog file removed from v4l-dvb Mercurial treeMauro Carvalho Chehab
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>
2006-01-29Use the login name with the ssh URL.Hans Verkuil
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>
2006-01-28make pull will now do push -uMauro Carvalho Chehab
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>
2006-01-28Removed commit from make pushMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This allows commiting at local tree first Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-28Several fixes for using with mercurialMauro Carvalho Chehab
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>
2005-12-04Prepare Changelog entries relative to top-level cvs directory.Michael Krufky
- Show Changelog entries relative to top-level cvs directory, rather than v4l/ directory. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-12 * ../v4l/scripts/strip-trailing-whitespaces.sh:Michael Krufky
- Updated script to function in new tree layout. Must be called from top-level. * ../Makefile: - Automatically strip trailing whitespaces before creating Changelog entry.
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../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>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../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>
2005-10-08 - Added top-level Makefile that calls v4l/MakefileMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>