File:  [DVB] / linuxtv.org / news / 2006-01-30-0.mchehab
Revision 1.3: download - view: text, annotated - select for diffs
Mon Jan 30 08:09:54 2006 UTC (18 years, 4 months ago) by mchehab
Branches: MAIN
CVS tags: HEAD
Argh! another bad tag. Fixed.

Mercurial (aka hg) V4L/DVB tree

<p>
New v4l/dvb Mercurial tree <a href=http://linuxtv.org/hg/v4l-dvb>available</a>, replacing CVS.
</p>

<p>
Dear V4L/DVB guys,
</p><p>
We are proud to announce that we are doing some important steps to improve v4l/dvb development. Currently, the projects use a very old SCM (Source Configuration Management), based on RCS files (CVS).
</p><p>
Although it was good in the past, now newer concepts were introduced to SCM that allows better models of development. It brings several advantages over CVS like:
</p>
<ul>
<li>Capable of being decentralized. Each developer may have its own local copy, with local commits;
</li><li>Atomic commits. on rcs based systems, you have a separate control for each file, not for the patchset. On newer SCMs, the patchset is stored as an unique unit;
</li><li>Better handling for conflict resolution;
</li><li>Commit undo
</li></ul>
<p>
And others. For a better description of Mercurial, you should look at
<a href=http://www.selenic.com/mercurial/>Mercurial page</a>. They have also an IRC channel on
freenode (<a href=irc://irc.freenode.net/#mercurial>#mercurial</a>).
</p><p>
From now, cvs access are marked as not to be used, since hg is available. You can retrieve hg via:
</p><p>
<a href=http://linuxtv.org/hg/v4l-dvb>http://linuxtv.org/hg/v4l-dvb</a>
</p><p>
The same URL is used for both web view of the tree and web access.
</p><p>
With Mercurial, to retrieve a dynamic generated tarball from latest stuff (as well as for any part of the tree). To get the tarball of the latest version you can do:
</p><p>
<ol>
<li>Open http://linuxtv.org/hg/v4l-dvb on your favorite browser;
</li><li>go to Tips line and click on it;
</li><li>It will open a view of current tags. Click on manifest at the tip line;
</li><li>A tree graph will be showed. You will see near the top an option to get a <gz> or <bz2>. Click on one of these and you will receive a tarball with the latest version.
</li></ol>
<p>

To install mercurial, some distros already have it. If not available, you can <a 
href=http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages>download a binary 
version</a> or <a href=http://www.selenic.com/mercurial/wiki/index.cgi/Download> retrieve a 
source file</a>.

</p><p>
The source file URL contains some instructions to install it. Basically:
</p>
<ol><li>
extract the tarball;
</li><li>
cd mercurial*
</li><li>
perl setup.py install
</li></ol>
<p>
python-2.3 or upper is required.
</p><p>
After having mercurial installed:
</p><p>
hg clone http://linuxtv.org/hg/v4l-dvb
</p><p>
This will create a new dir, called v4l-dvb, and put all stuff there.
</p><p>
To update to the latest version on tree (inside v4l-dvb dir):
</p><p>
make update
</p><p>
(this is an alias for hg pull -u http://linuxtv.org/hg/v4l-dvb)
</p><p>
There is a readme file at v4l-dvb called README.HG that contains some basic instructions for people that wants to generate new patches.
</p><p>
Cheers,<br>
Mauro.
</p>

LinuxTV legacy CVS <linuxtv.org/cvs>