|
1 Mercurial version 0.7 for Windows |
|
2 --------------------------------- |
|
3 |
|
4 Welcome to Mercurial for Windows! |
|
5 |
|
6 Mercurial is a command-line application. You must run it from the |
|
7 Windows command prompt (or if you're hard core, a MinGW shell). |
|
8 |
|
9 By default, Mercurial installs to C:\Mercurial. The Mercurial command |
|
10 is called hg.exe. To run this command, the install directory must be |
|
11 in your search path. |
|
12 |
|
13 |
|
14 Setting your search path temporarily |
|
15 ------------------------------------ |
|
16 |
|
17 To set your search path temporarily, type the following into a command |
|
18 prompt window: |
|
19 |
|
20 set PATH=C:\Mercurial;%PATH% |
|
21 |
|
22 |
|
23 Setting your search path permanently |
|
24 ------------------------------------ |
|
25 |
|
26 To set your search path permanently, perform the following steps. |
|
27 These instructions are for Windows NT, 2000 and XP. |
|
28 |
|
29 1. Open the Control Panel. Under Windows XP, select the "Classic |
|
30 View". |
|
31 |
|
32 2. Enter the "System" control panel. |
|
33 |
|
34 3. Click on "Advanced". |
|
35 |
|
36 4. Click on "Environment Variables". |
|
37 |
|
38 5. Under "System variables", you will see "Path". Double-click it. |
|
39 |
|
40 6. Edit "Variable value". Each path element is separated by a |
|
41 semicolon (";") character. Append a semicolon to the end of the |
|
42 list, followed by the path where you installed Mercurial |
|
43 (e.g. C:\Mercurial). |
|
44 |
|
45 7. Click on the various "OK" buttons until you're back up to the top |
|
46 level. |
|
47 |
|
48 8. Log out and log back in, or restart your system. |
|
49 |
|
50 9. The next time you run the Windows command prompt, you will be able |
|
51 to run hg.exe. |
|
52 |
|
53 |
|
54 Testing Mercurial |
|
55 ----------------- |
|
56 |
|
57 The easiest way to check that Mercurial is installed properly is to |
|
58 just type the following at the command prompt: |
|
59 |
|
60 hg |
|
61 |
|
62 It should print a help message. If it does, it should work fine for |
|
63 you. |
|
64 |
|
65 |
|
66 Reporting problems |
|
67 ------------------ |
|
68 |
|
69 Before you report any problems, please consult the Mercurial web site |
|
70 at http://www.selenic.com/mercurial and see if your question is |
|
71 already in our list of Frequently Answered Questions (the "FAQ"). |
|
72 |
|
73 If you cannot find an answer to your question, please feel free to |
|
74 send mail to the Mercurial mailing list, at <mercurial@selenic.com>. |
|
75 Remember, the more useful information you include in your report, the |
|
76 easier it will be for us to help you! |
|
77 |
|
78 If you are IRC-savvy, that's usually the fastest way to get help. Go |
|
79 to #mercurial on irc.freenode.net. |
|
80 |
|
81 |
|
82 Author and copyright information |
|
83 -------------------------------- |
|
84 |
|
85 Mercurial was written by Matt Mackall, and is maintained by Matt and a |
|
86 team of volunteers. |
|
87 |
|
88 The Windows installer was written by Bryan O'Sullivan. |
|
89 |
|
90 Copyright 2005 Matt Mackall and others. See the CONTRIBUTORS.txt file |
|
91 for a list of contributors. |
|
92 |
|
93 Mercurial is free software, released under the terms of the GNU |
|
94 General Public License, version 2. |