how to clone a local kernel src tree

Kyle Butt kylebutt at gmail.com
Tue Jun 5 15:22:10 UTC 2007


On 6/5/07, Matt Mackall <mpm at selenic.com> wrote:
> On Tue, Jun 05, 2007 at 08:01:47PM +0530, pradeep singh rautela wrote:
> > Hi All,
> >
> > Sorry if this is a complete newbies question.
> > I am just planning to using mercurial for kernel development and alike.
> >
> > I tried cloning downloaded 2.6.18 vanilla tree using
> > $ hg clone /opt/vanilla-2.6.18 /opt/hg-2.6.18
> > after doing a hg init /opt/vanilla-2.6.18
>

It sounds like you cloned a blank repository.

After hg init,
you probably meant to hg add, and hg commit all of the files in
/opt/vanilla-2.6.18

otherwise you'll be cloning an empty repository.

Kyle.



More information about the Mercurial mailing list