Open main menu

CDOT Wiki β

Changes

Continuous Integration

808 bytes added, 11:15, 16 December 2010
Challenges
==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!!]*2- I was receiving an error message while trying to do a new build on Hudson. It didn't let to clone the project on Hudson workspace. The error message is "Access is denied". So I had to delete the project and create a new one. Apparently one of the reasons is that Hudson doesn't let you queue the jobs. So, if you interrupt a job that is scheduled, you'll get the error message.*23- To run a bash script to build the project, there are 2 ways:
:Execute Windows Batch Command:
<source lang=bash>
1
edit