Any way to relate repos w/o cloning?

Chris Stromberger chris.stromberger at gmail.com
Thu Nov 13 10:09:24 CST 2008


When I try that, hg complains that the destination directory already exists.

On Thu, Nov 13, 2008 at 9:56 AM, Patrick Waugh <ptwaugh at gmail.com> wrote:

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20081113/d5fc57d2/attachment.htm 


More information about the Mercurial mailing list