SourceCodeRepository

From AlsaProject
Revision as of 13:44, 28 August 2007 by Tiwai (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.