vinod chelladurai
vinod chelladurai

Reputation: 25

Pull a web repository into local using Mercurial command

I'd like to pull a Mercurial web repository into my local filesystem to work. I used the following command but I get the error: Merucrial Repository (.hg directory not found). But my boss said Mercurial is installed in the machine.

    hg pull https://username@web_repository_name

What is the proper way to get a working copy of a Mercurial repository?

Upvotes: 0

Views: 30

Answers (1)

Mathiasdm
Mathiasdm

Reputation: 1831

You need to start by executing a clone of the repository, after which you can use pull to incrementally add new changes.

These are really the basics of Mercurial, so I would propose you read this tutorial, followed by this Mercurial guide.

Upvotes: 1

Related Questions