This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tools:hg [2013/02/18 15:09] – [Installing Mercurial] plinss | tools:hg [2014/12/30 23:10] – [Obtaining Write Access] plinss | ||
---|---|---|---|
Line 15: | Line 15: | ||
==== Installing Mercurial ==== | ==== Installing Mercurial ==== | ||
- | You need to first [[tools: | + | You need to first [[tools: |
You can see if you already have Mercurial installed by opening up a command shell and typing: | You can see if you already have Mercurial installed by opening up a command shell and typing: | ||
Line 25: | Line 25: | ||
< | < | ||
- | Mercurial Distributed SCM (version 2.5.1) | + | Mercurial Distributed SCM (version |
(see http:// | (see http:// | ||
</ | </ | ||
Line 34: | Line 34: | ||
Note: [[http:// | Note: [[http:// | ||
+ | |||
+ | N.B.: The instructions in the rest of this wiki page assume you've configured Mercurial as described here. For instance, the rest of this page assumes that you have the '' | ||
Create a file in your home directory called '' | Create a file in your home directory called '' | ||
Line 56: | Line 58: | ||
| | ||
[auth] | [auth] | ||
- | # CSSWG Test Repository | + | # CSSWG Test & Draft Repositories |
csswg.prefix = https:// | csswg.prefix = https:// | ||
csswg.username = your_csswg.org_username | csswg.username = your_csswg.org_username | ||
csswg.password = your_csswg.org_password #optional | csswg.password = your_csswg.org_password #optional | ||
| | ||
- | # CSSWG Spec Repository | + | # FXTF Draft Repository |
+ | fxtf.prefix = https:// | ||
+ | fxtf.username = your_csswg.org_username | ||
+ | fxtf.password = your_csswg.org_password #optional | ||
+ | |||
+ | # CSS-Houdini TF Draft Repository | ||
+ | houdini.prefix = https:// | ||
+ | houdini.username = your_csswg.org_username | ||
+ | houdini.password = your_csswg.org_password #optional | ||
+ | |||
+ | # Other W3C Spec Repositories | ||
w3c.prefix = https:// | w3c.prefix = https:// | ||
w3c.username = your_w3.org_username | w3c.username = your_w3.org_username | ||
Line 87: | Line 99: | ||
Depending on your OS and Mercurial root certificate configuration you may get a warning message about the host certificate when communicating with the central repository. If that happens, you can remove those warnings by adding the following to your configuration file: | Depending on your OS and Mercurial root certificate configuration you may get a warning message about the host certificate when communicating with the central repository. If that happens, you can remove those warnings by adding the following to your configuration file: | ||
[hostfingerprints] | [hostfingerprints] | ||
- | dvcs.w3.org = f8:9e:e9:55:14:2d:6f:3c:d4:f0:ad:33:fc:7b:7b:26:c0:17:53:d9 | + | dvcs.w3.org = 14:A5:F7:99:95:F8:41:9B:02:71:2C:4B:87:D2:E0:8B:F2:CF:4B:A3 |
- | hg.csswg.org = d4:c1:da:a9:ea:bc:49:25:4b:df:af:4a:a9:b4:6f:ea:51:33:3d:b8 | + | hg.csswg.org = 71:06:B1:F3:E4:74:AB:53:C2:CE:8E:BF:99:7D:F8:B4:4C:22:E8:B9 |
- | + | | |
- | Note that these fingerprints will only be valid until the certificates expire (dvcs.w3.org expires 03-may-2014, hg.csswg.org expires expires | + | hg.css-houdini.org = 20: |
+ | |||
+ | Note that these fingerprints will only be valid until the certificates expire (dvcs.w3.org expires 03-may-2016, hg.csswg.org expires expires | ||
Alternatively (and better if you're on an OS where this is easy), you can avoid ever having to add fingerprints by following [[http:// | Alternatively (and better if you're on an OS where this is easy), you can avoid ever having to add fingerprints by following [[http:// | ||
Line 132: | Line 146: | ||
</ | </ | ||
- | ** CSSWG Spec Repository ** | + | ** CSSWG Draft Repository ** |
< | < | ||
- | cd /mirror/hg/dvcs.w3.org/ #just an example, pick your own local directory | + | cd /mirror/hg.csswg.org/ #just an example, pick your own local directory |
- | hg clone https://dvcs.w3.org/hg/csswg/ | + | hg clone https://hg.csswg.org/drafts/ |
</ | </ | ||
- | ** FXTF Spec Repository ** | + | ** FXTF Draft Repository ** |
< | < | ||
- | hg clone https://dvcs.w3.org/hg/FXTF/ | + | hg clone https://hg.fxtf.org/drafts/ |
</ | </ | ||
Line 152: | Line 166: | ||
Note: By default, the working directory name will match the name of the central repository on the server (the last path component of the URL). If you want to use a different name for your working directory, enter it at the end of the clone command, e.g.: | Note: By default, the working directory name will match the name of the central repository on the server (the last path component of the URL). If you want to use a different name for your working directory, enter it at the end of the clone command, e.g.: | ||
< | < | ||
- | hg clone https://dvcs.w3.org/hg/csswg/ specs | + | hg clone https://hg.csswg.org/drafts/ csswg |
</ | </ | ||
Line 159: | Line 173: | ||
All of our repositories are readable by anyone. Permission to write (i.e. push) into the repositories is restricted to certain users. | All of our repositories are readable by anyone. Permission to write (i.e. push) into the repositories is restricted to certain users. | ||
- | Access to the CSSWG Test Suite Repository | + | Access to the repositories on hg.csswg.org, |
+ | |||
+ | In addition to the Test Suite Repository, all CSSWG members should have write access to the CSSWG Draft Repository, all CSSWG and SVGWG members should have write access to the FXTF and CSS-Houdini TF Draft Repositories. If you need write access and don't already have it, you can submit a request on the [[https:// | ||
- | Access to the CSSWG or FXTF Spec Repositories | + | Access to the repositories on dvcs.w3.org |
===== Working With Mercurial ===== | ===== Working With Mercurial ===== | ||
Line 509: | Line 525: | ||
If you are used to using Subversion or CVS, the following commands are roughly equivalent: | If you are used to using Subversion or CVS, the following commands are roughly equivalent: | ||
- | cvs update | + | cvs update |
cvs commit | cvs commit | ||
cvs stat == svn status | cvs stat == svn status |