What am I doing wrong?

Neal Becker ndbecker2 at gmail.com
Mon Jul 23 18:47:52 CDT 2007


Neal Becker wrote:

> I'm using hg from this morning:
>  hg heads
> changeset:   4879:da8640113b5a
> tag:         tip
> parent:      4876:001e8a745834
> parent:      4878:372d93f03d3a
> user:        Matt Mackall <mpm at selenic.com>
> date:        Sat Jul 14 13:34:40 2007 -0500
> summary:     Merge with -stable
> 
> I have my local repo, and it has some files, for example:
> hg status -A turbo_enc_1_15.cc
> C turbo_enc_1_15.cc
> 
> OK, so I have this file and it's all up to date.
> 
> Now I clone:
> 
> mkdir temp; cd temp;
> hg clone ~/idma-cdma
> destination directory: idma-cdma
> 84 files updated, 0 files merged, 0 files removed, 0 files unresolved
> 
> Now,  look in the new clone, and that file (and some others) are missing.

Seems the trouble was that I was working on a (non-default) branch.  When I
did hg clone, the clone was on the default branch.

I found this (as well as how to fix it), a bit confusing.  Maybe there could
be some howto on this subject.



More information about the Mercurial mailing list