Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009129Openbravo ERPY. DBSourceManagerpublic2009-05-21 12:062009-06-20 00:00
jpabloae 
marvintm 
highmajoralways
closedfixed 
20rPath Linux
pi 
pi 
Core
No
0009129: Cannot export database if there are local uncommited changes
It is not possible to export the database if there are local uncommited changes in the Hg repository.

When there are uncommited local changes Hg adds a plus character ("+") and it is saved in the code.revision property. This is correct, because it is desirable to see in the about box if the user has a modified revision id or not.

But if a user modifies a java file in src and then tries to export the database, it does not allow them to do that.
Make DBSourceManager ignore the trailing "+" characters when doing the comparison.
No tags attached.
Issue History
2009-05-21 12:06jpabloaeNew Issue
2009-05-21 12:06jpabloaeAssigned To => marvintm
2009-05-25 14:11rafarodaPrioritynormal => high
2009-05-25 14:11rafarodaStatusnew => scheduled
2009-05-25 16:52hgbotCheckin
2009-05-25 16:52hgbotNote Added: 0016630
2009-05-25 16:52hgbotStatusscheduled => resolved
2009-05-25 16:52hgbotResolutionopen => fixed
2009-05-25 16:54hgbotCheckin
2009-05-25 16:54hgbotNote Added: 0016631
2009-05-25 16:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e3e936be793723781a297644f3f4941db823b4e8 [^]
2009-06-19 12:49sureshbabuStatusresolved => closed
2009-06-19 12:49sureshbabuNote Added: 0017475
2009-06-19 12:49sureshbabuFixed in Version => pi
2009-06-20 00:00anonymoussf_bug_id0 => 2809266

Notes
(0016630)
hgbot   
2009-05-25 16:52   
Repository: dbsourcemanager
Revision: 323
Author: marvintm
Date: 2009-05-25 16:52:39 +0200 (Mon, 25 May 2009)

Fixed issue 9129. Now dbsourcemanager will ignore the '+' symbol that mercurial adds if there are uncommitted modifications, when comparing the revisions in an export.database task.

---
U trunk/src/org/openbravo/ddlutils/util/DBSMOBUtil.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=323&sc=1 [^]
(0016631)
hgbot   
2009-05-25 16:54   
Repository: erp/devel/pi
Changeset: e3e936be793723781a297644f3f4941db823b4e8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 25 16:54:10 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e3e936be793723781a297644f3f4941db823b4e8 [^]

Fixed issue 9129. Now dbsourcemanager will ignore the '+' symbol that mercurial adds if there are uncommitted modifications, when comparing the revisions in an export.database task.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0017475)
sureshbabu   
2009-06-19 12:49   
Tested in PI context