Posts

Showing posts with the label hg

Migrating from Subversion to Mercurial

This is an alternative way of migrating from SVN to Mercurial using HgSubversion as oppose to using convert extension. It allows you to push changes from local Mercurial repository to both Subversion and Mercurial during the transition period. Install HgSubversion hg clone http://bitbucket.org/durin42/hgsubversion/ <local-path>\hgsubversion Add HgSubversion extension to your main hgrc file [extensions] hgsubversion = <local-path>\hgsubversion\hgsubversion Clone existing subversion repository hg clone http://<username >@<svn-project-path> <local-project-folder> Edit project .hgrc file (/hg/.hgrc) [paths] default = http://<username >@<hg-remote-project-path> svn = http://<username >@<svn-project-path> Create new mercurial project in your remote Hg repository (see Rhodecode ) Pushing the project to remote mercurial repository hg push Pushing to subversio...

RhodeCode open source HG (Mercurial) server

Download RhodeCode * http://rhodecode.org/ Prerequisites * Install Python 2.5 or later http://www.python.org/download/ * Add to PATH \Python27 and \Python27\Scripts folders * Install SetupTools http://pypi.python.org/packages/2.7/s/setuptools/ Create \RhodeCode folder Install RhodeCode * easy_install rhodecode Configure RhodeCode * paster make-config RhodeCode production.ini * paster setup-app production.ini Run RhodeCode * paster serve production.ini Server is now running here http://localhost:8000 To change default host:port edit production.ini file More info about installation and setup http://packages.python.org/RhodeCode/installation.html http://packages.python.org/RhodeCode/setup.html

HG Mercurial Quick Setup Tutorial

Setting up Remote (build in) http server for multiple repositories * Create Directory Structure   - repo-root    |- Project1.hg    |- Project2.hg    hgweb.config    run.bat   * Edit hgweb.config as follows   [collections]   repos/ = .   [web]   style = gitweb   push_ssl = false   allow_push = *   * Edit run.bat as follows and run it   hg serve --webdir-conf hgweb.config Http Server is running on http://localhost:8000/     Setting up Remote Repository * Create Folder /repo-root/Project1.hg * Run hg init from within that folder Setting up Local Repository * Go to your local project directory /projects * Clone remote repository locally   hg clone http://localhost:8000/Project1.hg Project1 If you have an existing project and want to push it to remote repository * Run hg push http://localhost:8000/Proj...