Changes

Jump to: navigation, search

Mercurial-nexj

500 bytes removed, 15:36, 22 January 2011
no edit summary
[[Category:NexJ_Express_Continuous_Integration]]
 
<big><big> Continuous Integration Project - Mercurial</big></big>
{{NexJ_Express Index}}
==Introductions & Tutorials==
: Main website @ http://mercurial.selenic.com/
: Installing in windows[http://www.codza.com/mercurial-with-ssh-setup-on-windows]
: More about installation [http://www.aventinesolutions.nl/mediawiki/index.php/Quick_Tip:_Getting_Started_with_Mercurial]
: To be able to run Mercurial in Cygwin, execute hgtk.exe in TortoiseHG root.
: Cloning in Eclipse using ssh [http://youarepeople.blogspot.com/2008/10/mercurial-eclipse-over-ssh.html]
==Mercurial on Eclipse==
: Eclipse-Mercurial Video [http://blogs.intland.com/main/entry/39]-[http://code.google.com/p/hgeclipse-demo/ Demo]
: Documentation for Eclipse-Mercurial [http://bitbucket.org/mercurialeclipse/main/wiki/Documentation]
: Cloning a repo in Eclipse using SSH [http://youarepeople.blogspot.com/2008/10/mercurial-eclipse-over-ssh.html]
==Notes==
: Don't forget to commit this merge!
:'''Tips'''
 
:-''To create a branch in the working directory and then pushed it to the main remote repo:''
:: <code> hg branch ws </code>
:: <code > hg ci -m 'created a new branch' </code>
:; : <code> hg push --new-branch </code>
* Webserver:
:To start a web server of a specific repository, do: <code> hg serve --port 8000 </code> and open the domain name with port number in a browser, or right click on the folder and use TortoiseHg Web Server option.
to .hg/hgrc on the server-side repository. (See also [http://mercurial.selenic.com/wiki/HgWebDirStepByStep HgWebDirStepByStep].)
There's a reason for requiring SSL, however. If you do not trust the network you are using do not change this.
 
==Challenges==
* 1- First challenge is how to trim history of a repository.
: We have a Mercurial repository called A. We want to clone repo A and create a new repo called B.
: It's possible to use 'init' and create a new repo and just copy the files from repo A and add them.
: This way the revision number will reset. And we will start repo B from the tip of the repo A.
: The problem appears if we want to clone just the tip of the repo A and keep the same revision number of the 'tip'.
: Here are some links that we went through, but no success yet.
:[http://mercurial.selenic.com/wiki/EditingHistory Trimming History]
:[http://www.selenic.com/mercurial/hgrc.5.html .hgrc file]
:[http://mercurial.selenic.com/wiki/TipsAndTricks mq strip changeset]
:[http://mercurial.selenic.com/wiki/EditingHistory Editing History!!]
1
edit

Navigation menu