Any way to relate repos w/o cloning?

Andrei Vermel avermel at mail.ru
Thu Nov 13 11:38:52 CST 2008


 
> Yes, but if I do the pull without doing an update, shouldn't 
> hg st report the updates that would occur in the working dir 
> when I do an update?
> 
> Does it have something to do with the multiple heads??  
> Here's the output from hg heads:
> 
> changeset:   1:ec46614b071e
> tag:         tip
> parent:      -1:000000000000
> user:        cstromberger
> date:        Thu Nov 13 07:13:24 2008 -0800
> summary:     Initial import
> 
> changeset:   0:cc98724a0a7a
> user:        cstromberger
> date:        Thu Nov 13 08:11:06 2008 -0800
> summary:     Initial import

I don't think you want the 2 heads. If you remove your .hg, copy .hg from
the other machine and do 'hg stat', then you'll see your modified files.
Otherwise your repo will contain 2 useless copies of every file polluting
the history and wasting space.

Andrei



More information about the Mercurial mailing list