Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tools:hg [2013/09/22 10:17] – [Setting Up Mercurial Preferences] plinsstools:hg [2014/12/30 22:58] – [Initial Download Of The Central Repository] plinss
Line 15: Line 15:
 ==== Installing Mercurial ==== ==== Installing Mercurial ====
  
-You need to first [[tools:hg:install|install Mercurial on your system]], if you haven't already. Our server is running version 2.5. Earlier versions should work, but we recommend using the latest client.+You need to first [[tools:hg:install|install Mercurial on your system]], if you haven't already. Our server is running version 3.2.1. Earlier versions should work, but we recommend using the latest client.
  
 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:
  
 <code> <code>
-Mercurial Distributed SCM (version 2.5.1)+Mercurial Distributed SCM (version 3.2)
 (see http://mercurial.selenic.com for more information) (see http://mercurial.selenic.com for more information)
 </code> </code>
Line 58: Line 58:
      
   [auth]   [auth]
-  # CSSWG Test Repository+  # CSSWG Test & Draft Repositories
   csswg.prefix = https://hg.csswg.org/   csswg.prefix = https://hg.csswg.org/
   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://hg.fxtf.org/ 
 +  fxtf.username = your_csswg.org_username 
 +  fxtf.password = your_csswg.org_password #optional 
 +   
 +  # CSS-Houdini TF Draft Repository 
 +  houdini.prefix = https://hg.css-houdini.org/ 
 +  houdini.username = your_csswg.org_username 
 +  houdini.password = your_csswg.org_password #optional 
 +   
 +  # Other W3C Spec Repositories
   w3c.prefix = https://dvcs.w3.org/hg/   w3c.prefix = https://dvcs.w3.org/hg/
   w3c.username = your_w3.org_username   w3c.username = your_w3.org_username
Line 89: 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 = 97:4c:0e:c5:2e:95:74:5e:c7:fa:ed:07:3f:97:ab:ea:80:7a:be:7c +  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 = b8:28:ac:7c:3e:7e:d5:cc:1f:af:8a:fd:6d:9b:93:2d:9f:d7:a4:59 +  hg.csswg.org = 71:06:B1:F3:E4:74:AB:53:C2:CE:8E:BF:99:7D:F8:B4:4C:22:E8:B9 
-   +  hg.fxtf.org = B9:28:66:37:CB:36:3E:0B:A6:05:32:2F:7A:34:76:54:29:37:2A:9D 
-Note that these fingerprints will only be valid until the certificates expire (dvcs.w3.org expires 03-may-2014, hg.csswg.org expires expires 01-jul-2015). You will need to update the fingerprints when new certificates are issued.+  hg.css-houdini.org = 20:92:CF:9D:D7:29:C6:B8:7D:58:E3:1D:A9:42:C6:9C:9F:02:87:49 
 + 
 +Note that these fingerprints will only be valid until the certificates expire (dvcs.w3.org expires 03-may-2016, hg.csswg.org expires expires 10-apr-2016). You will need to update the fingerprints when new certificates are issued.
  
 Alternatively (and better if you're on an OS where this is easy), you can avoid ever having to add fingerprints by following [[http://mercurial.selenic.com/wiki/CACertificates#Configuration_of_HTTPS_certificate_authorities|the instructions on the Mercurial wiki]]. Alternatively (and better if you're on an OS where this is easy), you can avoid ever having to add fingerprints by following [[http://mercurial.selenic.com/wiki/CACertificates#Configuration_of_HTTPS_certificate_authorities|the instructions on the Mercurial wiki]].
Line 134: Line 146:
 </code> </code>
  
-** CSSWG Spec Repository **+** CSSWG Draft Repository **
 <code> <code>
-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/
 </code> </code>
  
-** FXTF Spec Repository **+** FXTF Draft Repository **
 <code> <code>
-hg clone https://dvcs.w3.org/hg/FXTF+hg clone https://hg.fxtf.org/drafts
 </code> </code>
  
Line 154: 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.:
 <code> <code>
-hg clone https://dvcs.w3.org/hg/csswg/ specs+hg clone https://hg.csswg.org/drafts/ csswg
 </code> </code>
  
Line 511: Line 523:
 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  == svn update  ==  hg pull --u+  cvs update  == svn update  ==  hg pull --rebase
   cvs commit  == svn commit  ==  hg commit . ; hg push   cvs commit  == svn commit  ==  hg commit . ; hg push
   cvs stat    == svn status  ==  hg status .   cvs stat    == svn status  ==  hg status .
 
tools/hg.txt · Last modified: 2017/01/30 16:55 by plinss
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki