Changes between Version 3 and Version 4 of BitBucket
- Timestamp:
- Oct 9, 2010, 9:08:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BitBucket
v3 v4 16 16 Note that we maintain an official Mercurial mirror of the SubversionRepository there, see [http://bitbucket.org/edgewall/trac edgewall/trac]. 17 17 18 == Windows Tips19 First thing, you will need a Mercurial client. 18 == Basic Mercurial Setup 19 Obviously, you will need a Mercurial client: 20 20 - The "raw" command-line client can be downloaded here: http://mercurial.selenic.com/ 21 - A GUI client also exists, surprisingly named [http://tortoisehg.bitbucket.org/ TortoiseHG]21 - A GUI client for Windows also exists, surprisingly named [http://tortoisehg.bitbucket.org/ TortoiseHG] 22 22 23 23 It is considered Good Practice to first get things working with command-line, before moving to GUI-based solutions. 24 24 25 === Basic configuration 26 You will need to create a configuration file: 27 - On Windows XP and earlier, create `C:\Documents and Settings\USERNAME\Mercurial.ini`28 - On Windows Vista and newer, create `C:\Users\USERNAME\Mercurial.ini`25 Once the client is installed, some basic configuration is in order. Create the global configuration file, depending on your platform: 26 - On Windows XP and earlier: `C:\Documents and Settings\USERNAME\Mercurial.ini` 27 - On Windows Vista and newer: `C:\Users\USERNAME\Mercurial.ini` 28 - TODO: Other OS? 29 29 30 Important settings for working with the Trac Mercurial mirror: 30 This configuration file is ini-style. 31 Important settings for working with the Trac BitBucket mirror: 31 32 {{{ 32 33 #!ini … … 36 37 graphlog = 37 38 ; See below concerning external extensions 38 hgsvnutils = \path\to\HgExts\HgSvnUtils\HgSvnUtils.py39 hgsvnutils = /path/to/HgExts/HgSvnUtils/HgSvnUtils.py 39 40 40 41 [diff] … … 45 46 For details on the concept of extensions see http://mercurial.selenic.com/wiki/UsingExtensions 46 47 47 An important external extension sfor Trac development with Mercurial is the [http://rc.c-space.org/hg/HgSvnUtils HgSvnUtils] extension (maintained by RemyBlank).48 An important external extension for Trac development with Mercurial is the [http://rc.c-space.org/hg/HgSvnUtils HgSvnUtils] extension (maintained by RemyBlank). 48 49 49 50 To install it, go to some local directory and run (from command-line) … … 59 60 - Using `https://USERNAME@bitbucket.org/USERNAME/reponame` over SSL (built-in support in the Mercurial client); or 60 61 - Using `ssh://hg@bitbucket.org/USERNAME/reponame` over SSH (note that this uses `hg` as username!)[[BR]] 61 For this you will need `ssh` client, which is not native to Windows, as well as setting up SSH keys and uploading the public key to your BitBucket account. You may obtain a `ssh` client for Windows (like `plink.exe`), but why bother..? 62 For this you will need `ssh` client and SSH key-pair 63 - See http://confluence.atlassian.com/display/BITBUCKET/Using+SSH+to+Access+your+Bitbucket+Repository for instructions 64 - If you're on Linux, you probably already have `ssh` and keys, so good for you. 65 - If you're on Windows, `ssh` is not native. You may obtain a `ssh` client for Windows (like `plink.exe`), but why bother, when you have the SSL option?