Edgewall Software

Changes between Version 3 and Version 4 of BitBucket


Ignore:
Timestamp:
Oct 9, 2010, 9:08:58 PM (14 years ago)
Author:
Itamar Ostricher
Comment:

refactor tips

Legend:

Unmodified
Added
Removed
Modified
  • BitBucket

    v3 v4  
    1616Note that we maintain an official Mercurial mirror of the SubversionRepository there, see [http://bitbucket.org/edgewall/trac edgewall/trac].
    1717
    18 == Windows Tips
    19 First thing, you will need a Mercurial client.
     18== Basic Mercurial Setup
     19Obviously, you will need a Mercurial client:
    2020- 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]
    2222
    2323It is considered Good Practice to first get things working with command-line, before moving to GUI-based solutions.
    2424
    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`
     25Once 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?
    2929
    30 Important settings for working with the Trac Mercurial mirror:
     30This configuration file is ini-style.
     31Important settings for working with the Trac BitBucket mirror:
    3132{{{
    3233#!ini
     
    3637graphlog =
    3738; See below concerning external extensions
    38 hgsvnutils = \path\to\HgExts\HgSvnUtils\HgSvnUtils.py
     39hgsvnutils = /path/to/HgExts/HgSvnUtils/HgSvnUtils.py
    3940
    4041[diff]
     
    4546For details on the concept of extensions see http://mercurial.selenic.com/wiki/UsingExtensions
    4647
    47 An important external extensions for Trac development with Mercurial is the [http://rc.c-space.org/hg/HgSvnUtils HgSvnUtils] extension (maintained by RemyBlank).
     48An important external extension for Trac development with Mercurial is the [http://rc.c-space.org/hg/HgSvnUtils HgSvnUtils] extension (maintained by RemyBlank).
    4849
    4950To install it, go to some local directory and run (from command-line)
     
    5960- Using `https://USERNAME@bitbucket.org/USERNAME/reponame` over SSL (built-in support in the Mercurial client); or
    6061- 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?