Any way to relate repos w/o cloning?
Chris Stromberger
chris.stromberger at gmail.com
Thu Nov 13 10:20:16 CST 2008
On Thu, Nov 13, 2008 at 10:08 AM, Benoît Allard <benoit at aeteurope.nl> wrote:
> Chris Stromberger wrote:
>
>> So I went into two different working directories and did hg init/add/ci.
>> Then I tried to hg pull <other repo path> from the other directory into my
>> working dir, and I get "repository is unrelated" error.
>>
>>
> You still should be able to "pull -f", this will create another head in
> your repository, and then, once merge, you should be able to push to your
> colleague ...
>
Aha! I guess I should have tried "hg help pull" first :). So, I did this,
and the pull worked (did not have errors). But one question now. I know
that there are changes in the files in the repo I pulled from, but when I do
"hg st" in the recipient directory, no changes are reported. Since the repo
pulled from that changed repo, shouldn't "hg st" report those differences in
my current repo?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20081113/93127a4a/attachment.htm
More information about the Mercurial
mailing list