Inter-Repository work.... (new to mercurial)
Greg Ward
greg-hg at gerg.ca
Fri Sep 4 09:14:40 CDT 2009
On Fri, Sep 4, 2009 at 4:15 AM, Thomas
Lehmann<Iris-und-Thomas-Lehmann at t-online.de> wrote:
> Environment:
> I'm new to mercurial and I'm working with TortoiseHg on windows (I
> have some experience with subversion).
Welcome!
> Two questions:
> I have a mercurial repository with my project and there have been some
> commits. How do I get my whole versions of a part of my repository
> into a new repository? (I want to publish a project at bitbucket)
First, have you read
http://hgbook.red-bean.com/read/collaborating-with-other-people.html ?
(Or bought the book, since it has been published recently.)
Second, the simple answer is "push or pull". But that might not be
the answer you're looking for, since I don't entirely understand your
question: in particular, what do you mean by "whole versions of a part
of [your] repository"? Remember, Mercurial tracks a whole filesystem
tree atomically. It's generally frowned upon to pick up patches to
part of the tree and apply them separately from the rest of the tree.
It's not impossible, it's just not the normal way of working.
You'll need to clarify your question.
Greg
More information about the Mercurial
mailing list