how to clone a local kernel src tree
Matthieu Moy
Matthieu.Moy at imag.fr
Tue Jun 5 15:49:56 UTC 2007
"Kyle Butt" <kylebutt at gmail.com> writes:
> 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
Indeed, you probably wanted to clone an already-existing repository.
Otherwise, merging with other people will be made really difficult.
--
Matthieu
More information about the Mercurial
mailing list