User:Minooz/Mercurial

From CDOT Wiki
< User:Minooz
Revision as of 12:20, 14 October 2010 by Minooz (talk | contribs)
Jump to: navigation, search

Mercurial Notes

Mercurial

Main website @ http://mercurial.selenic.com/
Mozilla Mercurial @ https://wiki.mozilla.org/Mercurial_on_Windows
compare version controls [1]
Understanding Mercurial @ http://mercurial.selenic.com/wiki/UnderstandingMercurial
Tutorial-wiki @ http://mercurial.selenic.com/wiki/Tutorial

Installation

Installing in windows[2]
More about installation [3]

Mercurial on Eclipse

Eclipse-Mercurial [4]
Eclipse-Mercurial Video [5]-Demo
Documentation for Eclipse-Mercurial [6]

Notes

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.
Trimming History
.hgrc file
mq strip changeset
Editing History!!