SourceCodeRepository: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
hg clone alsa-driver alsa-driver-fixbug1 | hg clone alsa-driver alsa-driver-fixbug1 | ||
cd alsa-driver-fixbug1 | cd alsa-driver-fixbug1 | ||
./ | ./hgcompile | ||
do { code; test;} until finished; | do { code; test;} until finished; | ||
hg commit -m"Fixed the foo in bar" | hg commit -m"Fixed the foo in bar" |
Revision as of 13:44, 28 August 2007
How to use the Mercurial (hg) repository.
The Download page has more information about repositories and mirrors.
Get a copy of the repository
cd alsa-hg hg clone http://hg.alsa-project.org/alsa-driver alsa-driver hg clone http://hg.alsa-project.org/alsa-kernel alsa-kernel
Get latest updates
cd alsa-driver hg pull -u cd alsa-kernel hg pull -u
Create a working copy
hg clone alsa-driver alsa-driver-fixbug1 cd alsa-driver-fixbug1 ./hgcompile do { code; test;} until finished; hg commit -m"Fixed the foo in bar"
What to do about sending the changes back
hg diff > fixbug1.patch # email fixbug1.patch] to alsa-devel
add to .hg/hgrc to avoid having to spec the path for hg
[incoming,outgoing,bundle]: default-push= /path/to/alsa-driver
View Changes
http://hg-mirror.alsa-project.org
Copied from here [1] and reformatted. Original was on alsa-devel mail list.