Any way to relate repos w/o cloning?
Patrick Waugh
ptwaugh at gmail.com
Thu Nov 13 09:56:20 CST 2008
You basically created two separate (unrelated) repositories. Instead,
init one, then clone it to the other directory and they are then
related.
--Caveat: Also noobie. =)
Patrick
On Thu, Nov 13, 2008 at 9:46 AM, Chris Stromberger
<chris.stromberger at gmail.com> wrote:
> I have a situation at work where I'd like to use hg to help get around some
> ClearCase headaches. I am working with another developer on a few
> directories. But we are not able to check in our files easily due to a work
> policy, so in order to get each other's changes as we go along, we will have
> to manually copy individual files as we change things. I thought if we
> could each set up an hg repo in our respective directories, we could pull
> changes from each other easily into our respective working dirs while
> development is going on w/o having to deal with ClearCase until everything
> is tidy and ready for an officially sanctioned checkin.
>
> 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.
>
> Is there any way to relate two repos manually? Or some other way to achieve
> what I'm trying to do?
>
> Caveat--hg newbie.
>
> Thanks,
> Chris
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
More information about the Mercurial
mailing list