<< Back to previous view

[QB-1160] Hg Mercurial seems not updating the build worksspace to the correct version.
Created: 05/Dec/11  Updated: 27/Dec/12

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 3.1.59
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Xiang Shen Assigned To: Robin Shen
Resolution: Incomplete Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Linux


 Description   
The tip of our hg repo is 1871:1ece9afb3e23. When we do the build, we cleanup the workspace and start all over again. However, for some reason the QB checkout version is always 1870:7dc58baf098e. After I login to the build server and change directory to the work space, if I do 'hg update', the 1871 version will be brought to the workspace. Manual clone doesn't have this issue. In addition I have tried to remove the .hg directory in the workspace and it didn't help.

Please advise.

Thanks!

Hg log:

cc_admin@cmbuild01:~/gnu/quickbuild-3.1.59-linux-x86-32/workspace/root/DDnS/dev/Offline/DDSPOC_Offline_Build_Only/Offline>hg log -l5
changeset: 1871:1ece9afb3e23
tag: tip
parent: 1870:7dc58baf098e
parent: 1869:c61b47a8bb95
user: atp1sxg
date: Mon Dec 05 12:03:32 2011 -0500
summary: Merge to sync

changeset: 1870:7dc58baf098e
parent: 1866:f91e59fd71e9
user: atp1sxg
date: Mon Dec 05 12:02:54 2011 -0500
summary: db change

changeset: 1869:c61b47a8bb95
parent: 1868:ed5a5ed08c96
parent: 1867:1d1e8a5d414a
user: atp1jxy
date: Mon Dec 05 11:19:49 2011 -0500
summary: Merge with 1d1e8a5d414a5ced07f2bc2ed90adf1b56e93f37

QB log:
---------------------------------------
14:24:06,917 [master>checkout@cmbuild01:4443] INFO - Executing pre-execute action...
14:24:07,303 [master>checkout@cmbuild01:4443] INFO - Running step...
14:24:07,311 [master>checkout@cmbuild01:4443] WARN - Base build not exist to calculate change sets.
14:24:07,338 [master>checkout@cmbuild01:4443] INFO - Checking out revision '7dc58baf098e930ad2174b8b4efc5591e9b97391' of repository 'DDS_Dev'...


 Comments   
Comment by Robin Shen [ 06/Dec/11 12:12 AM ]
Can you please check the Hg repo definition in QuickBuild to see if it has been set to build against a label. If yes, QB will always check out revision of that label.
Generated at Mon May 20 23:51:25 UTC 2024 using JIRA 189.