SourceCodeRepository: Difference between revisions
Jump to navigation
Jump to search
(Hg repository usage) |
(mention this page is deprecated) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
How to use the Mercurial (hg) repository. | == Page deprecated == | ||
This page describes how to use the old Mercurial repository. | |||
We since switched to a [[GIT_Server]], so this information is deprecated | |||
== How to use the Mercurial (hg) repository. == | |||
The [[Download]] page has more information about repositories and mirrors. | The [[Download]] page has more information about repositories and mirrors. | ||
Line 17: | Line 23: | ||
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" | ||
Line 33: | Line 39: | ||
---- | ---- | ||
Copied from here [https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=SourceCodeRepository] and reformatted. Original was on alsa-devel mail list. | Copied from here [https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=SourceCodeRepository] and reformatted. Original was on alsa-devel mail list. | ||
[[Category:Development]] [[Category:MigratedFromDev]] |
Latest revision as of 11:31, 18 October 2009
Page deprecated
This page describes how to use the old Mercurial repository.
We since switched to a GIT_Server, so this information is deprecated
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.