Open main menu

CDOT Wiki β

Changes

User:Minooz/Mercurial

1,954 bytes removed, 14:07, 14 October 2010
no edit summary
=Mercurial Help===MercurialIntroductions & Tutorials==
: Main website @ http://mercurial.selenic.com/
: Mozilla Mercurial @ https://wiki.mozilla.org/Mercurial_on_Windows
==Installation==
 
: 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]
 
==Mercurial on Eclipse==
: Documentation for Eclipse-Mercurial [http://bitbucket.org/mercurialeclipse/main/wiki/Documentation]
==DocumentationNotes==
: The Definitive Guide, is a documentation for hg ([http://matrix.senecac.on.ca/~mziaei1/CDOT/hgbook.pdf PDF] or [http://hgbook.red-bean.com/read/ Html]).
: TortoiseHg Documentation [http://matrix.senecac.on.ca/~mziaei1/CDOT/TortoiseHg.pdf ]
::An easy way to remember the distinction is that the ''repository'' contains the history of your project, while the ''working directory'' contains a snapshot of your project at a particular point in history.
: 2- The ''hg log'' command gives us a view of the history of changes in the repository. By default, this command prints a brief paragraph of output for each change to the project that was recorded.
:: Each of these recorded events are called a ''changeset'', because it can contain a record of changes to several files. ''Changeset'' is also referred to as''change'', ''cset'', ''revision'' or ''rev''.
: 3- ''Changeset'' field has the format of a number (''identifier'', which is only valid in that repository) followed by a colon, followed by a hexadecimal (or hex) string. These are identifiers for the changeset.
::The hex string is a unique identifier: the same hex string will always refer to the same changeset in every copy of this repository. The number is shorter and easier to type than the hex string, but it isn't unique: the same number in two different clones of a repository may identify different changesets. ''changeset: 0:0a04b987be5a''
:8- mq tutorial [http://mercurial.selenic.com/wiki/MqTutorial]
:9- ant task for hg [http://ant4hg.free.fr/specifications.html#functionality-init ANT4HG]
 
==Buildbot==
:The [http://buildbot.net/trac Buildbot] is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. [http://buildbot.net/buildbot/docs/current/Introduction.html#Introduction]
: [http://buildbot.net/buildbot/docs/current/index.html#Top Here] is the documentation for Buildbot. [https://developer.mozilla.org/presentations/buildbot-2.01.07.mov This video] also explains different features of this system.
:The buildmaster is usually fed Changes by some sort of version control system, which may cause builds to be run. As the builds are performed, various status messages are produced, which are then sent to any registered Status Targets.[[Image:Buildbot.png|thumb|none|widthpx|]]
 
:-Change Sources, which create a Change object each time something is modified in the VC repository. Most ChangeSources listen for messages from a hook script of some sort. Some sources actively poll the repository on a regular basis. All Changes are fed to the Schedulers.
:- Schedulers, which decide when builds should be performed. They collect Changes into BuildRequests, which are then queued for delivery to Builders until a buildslave is available.
:-Builders, which control exactly how each build is performed (with a series of BuildSteps, configured in a BuildFactory). Each Build is run on a single buildslave.
:-Status plugins, which deliver information about the build results through protocols like HTTP, mail, and IRC.
*Common Requirements
:At a bare minimum, you'll need the following for both the buildmaster and a buildslave:
:-Python: http://www.python.org Buildbot requires python-2.4 or later.
:-Twisted: http://twistedmatrix.com (Twisted is an event-driven networking engine written in Python and licensed under the MIT license.)
 
==Challenges==
* 1- First challenge is how to trim history of a repository.
1
edit