Sunday, 16 May 2010 by alexandrul
Tested with Mercurial 1.5.3, 1.5.4 and 1.6 on:
- Windows XP Professional
- Windows Server 2008 SP2 x86
- Windows Server 2008 R2
Unfortunately, the pager extension is a little broken on Windows, as described in issue 1677 on Mercurial issue tracker, so I have modified it to use a temporary file for storing the commands output, and then call the pager with the temporary file as a command line parameter. You can find the source code on Bitbucket and CodePlex.
My favorite pager on Windows is less.exe, which works just fine with the ANSI codes generated from the Mercurial color extension:
[Read More…]
Posted in DVCS, Mercurial | | (1102 views)
Tuesday, 4 May 2010 by alexandrul
On a fresh install on my PC, TortoiseHg repository explorer looks like this:

The fonts used on the blue regions can be changed as described on the TortoiseHg Frequently Asked Questions page:
[gtools]
# font used in changeset viewer and commit log text
fontcomment = Tahoma 8
# font used for diffs in status and commit tools
fontdiff = Courier New 10
# font used in file lists in status and commit tools
fontlist = Tahoma 8
# font used in command output window
fontlog = Courier New 10
However, the only way I could find to change the font used to display the revision ID is to alter the monospace alias in {TortoiseHg folder}\gtk\etc\pango\pango.aliases:
[Read More…]
Posted in DVCS, Mercurial | | (701 views)
Tuesday, 13 April 2010 by alexandrul
Based on Gunnar Wolf’s .bashrc, I have customized my .bash_profile to show exit status, bare repositories, and outside work tree cases:



[Read More…]
Posted in DVCS, Git | | (665 views)
by alexandrul
Source code / binaries / GUI
Setting up Mercurial servers on IIS
Setting up Mercurial servers on Nginx
Setting up Mercurial servers on Apache
Setting up Mercurial servers
Remote repositories
Mercurial - Visual Studio integration
Mercurial - Git integration
[Read More…]
Posted in DVCS, Mercurial | | (886 views)
Monday, 12 October 2009 by alexandrul
Requirements
Mongoose setup
Rename mongoose-2.8.exe to mongoose4instagit.exe and place it in any folder at your choice, in my case: k:devtoolsmongoosemongoose4instagit.exe
Gitweb setup
In a msysGit shell run the following commands to build gitweb.cgi in case it’s not already present (like after running make clean in /git folder):
cd /git
make gitweb/gitweb.cgi
Next, extract CGI.pm archive content, and copy the content of the lib subfolder to /lib/perl5/site_perl, keeping the folder structure:
[Read More…]
Posted in DVCS, Git | | (1630 views)
Sunday, 20 September 2009 by alexandrul
The article is based on Install MSysGit wiki page from the msysGit website, and you could also read Updating MSysGit.
For best results use one of the following Git versions:
- Git 1.7.0.5 - recommended
- Git 1.6.6.2
- Git 1.6.5.8
- Git 1.6.4.4
Requirements
Setting up Git
First unpack msysGit installer to your desired location (7-Zip works just fine). In my case, the location is K:devtoolsmsysGit. Also, this folder is the root folder inside the msysGit shell, and would be the reference for the rest of the tutorial.
In the K:devtoolsmsysGitgit folder you will find the Git source code provided with the installer. Delete all the files and folders inside it, and then unpack in the same folder the source code of your desired git version.
Final step would be running K:devtoolsmsysGitmsys.bat, which will compile and install git, and leave you to a shell prompt.
[Read More…]
Posted in DVCS, Git | | (209 views)