Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008086Openbravo ERPA. Platformpublic2009-03-12 10:342009-06-04 00:00
jpabloae 
jpabloae 
urgentminoralways
closedfixed 
5
pi 
 
Core
No
0008086: ant tasks should tak the Hg revision instead of SVN
We have an ant tasks that sets the SVN revision on a database table. Now that we have Mercurial, it should take the Mercurial changeset revision and not the SVN revision.
Use "hg identify -i" to get the changeset global revision id. If the "hg" command does not exist in the system, don't do anything (or put a "n/a").
250mp2
patch issue8086.patch (5,130) 2009-05-07 20:38
https://issues.openbravo.com/file_download.php?file_id=1275&type=bug
Issue History
2009-03-12 10:34jpabloaeNew Issue
2009-03-12 10:34jpabloaeAssigned To => rafaroda
2009-03-12 10:34jpabloaeRegression testing => No
2009-03-12 11:49rafarodaAssigned Torafaroda => marvintm
2009-03-12 11:49rafarodaStatusnew => scheduled
2009-04-23 16:05psarobeTag Attached: 250MP1
2009-05-07 20:37jpabloaeNote Added: 0016157
2009-05-07 20:38jpabloaeFile Added: issue8086.patch
2009-05-08 12:39jpabloaeAssigned Tomarvintm => jpabloae
2009-05-08 13:50jpabloaeTag Detached: 250MP1
2009-05-08 13:51jpabloaeTag Attached: 250mp2
2009-05-08 13:55hgbotCheckin
2009-05-08 13:55hgbotNote Added: 0016179
2009-05-08 13:55hgbotStatusscheduled => resolved
2009-05-08 13:55hgbotResolutionopen => fixed
2009-05-08 13:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0958b4ae7fe52e83c8c996c92a7108484ba964e2 [^]
2009-06-03 11:59psarobeStatusresolved => closed
2009-06-04 00:00anonymoussf_bug_id0 => 2800765

Notes
(0016157)
jpabloae   
2009-05-07 20:37   
Tentative patch attached for the ant scripts.
We only need to change dbsourcemanager now to accept code.revision as a string instead of as an integer.
(0016179)
hgbot   
2009-05-08 13:55   
Repository: erp/devel/pi
Changeset: 0958b4ae7fe52e83c8c996c92a7108484ba964e2
Author: Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com>
Date: Fri May 08 13:50:12 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0958b4ae7fe52e83c8c996c92a7108484ba964e2 [^]

Fixes issue 8086: take the revision id from Hg, not SVN

---
M build.xml
M src-db/database/build-create.xml
M src-db/database/build.xml
M src-db/database/lib/dbsourcemanager.jar
M src/org/openbravo/erpCommon/ad_forms/About.html
M src/org/openbravo/erpCommon/ad_forms/About_data.xsql
---