How to checkout a repository using Mercurial (hg) in Mac OS X
19,709
You need to install Mercurial.
Related videos on Youtube
Author by
pisfire
iOS App Developer, Android App Developer, ReactJS Developer, Flutter
Updated on September 17, 2022Comments
-
pisfire almost 2 years
I am trying to download a sample project of CorePlot from:
http://code.google.com/p/core-plot/source/checkout
There, they have mentioned below command to execute for getting a legal copy:
hg clone https://core-plot.googlecode.com/hg/ core-plot
But My Mac OS X terminal says that there is no command called
hg
.What should I do?
-
Telemachus over 14 yearsSee the link on this page of that site under GUI and IDE access. That link will lead you to a page with different versions of Mercurial for various operating systems: code.google.com/p/core-plot/source/checkout
-
-
John T over 14 yearsHave you tried installing with
sudo
? -
John T over 14 yearsRun the command
sudo port install mercurial
-
John T over 14 yearsIf it can't find the port command, something is wrong with your installation of Macports.
-
pisfire over 14 yearsI have installed fink, Mac ports & Python successfully but I am still not able to execute the command mentioned in question. (hg clone).
-
John T over 14 yearsWhere is the
port
binary located? Typewhich port
and if a path to it isn't displayed, you'll need to add it's location to your path.