Any way to relate repos w/o cloning?

Ted Pavlic ted at tedpavlic.com
Thu Nov 13 14:46:30 CST 2008


>     Should you not just delete the destination directory?
> 
> At this point that is not my preference because I already have code 
> changes scattered around the directory.  Had I thought of this idea at 
> the start of the project, that likely would be the route to go.

If you follow the instructions given in another branch of this thread, 
you will generate a repository that *starts* with two heads and merges 
those heads in the working directory. At that point, you *could* check 
your changes in as a new changeset. However, you could REMOVE the .hg 
directory and *THEN* do an

	hg init

Then you'll have a single repository that both developers agree on. Work 
from that repo from then on. (you basically used hg as a merge tool)

--Ted


-- 
Ted Pavlic <ted at tedpavlic.com>


More information about the Mercurial mailing list