This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 130370 - Invalid commit 4f2075f06884
Summary: Invalid commit 4f2075f06884
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 10:13 UTC by Jaroslav Tulach
Modified: 2008-03-25 16:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2008-03-18 10:13:05 UTC
http://hg.netbeans.org/main/rev/4f2075f06884

Why RE deletes my commits from Hg!?
 Od:Jaroslav Tulach <jaroslav.tulach@sun.com>
 Komu: nb-tech@sun.com
 Kopie: nb-core@sun.com
 
Hi,
somebody managed to remove a bunch of commits from Hg repository. For example:

b/openide.loaders/test/unit/src/org/openide/text/ExternalDeleteOfModifiedFileTest.java      
Sun Mar 16 19:02:57 2008 +0100
@@ -187,9 +187,6 @@ public class ExternalDeleteOfModifiedFil
         OutputStream os = new BufferedOutputStream(new FileOutputStream(f));
         for (int i = 0; i < 1024 * 1024 + 50000; i++) {
             os.write('A');
-            if (i % 80 == 0) {
-                os.write('\n');
-            }
         }
         os.close();

It seems that this was all due to commit of 
http://hg.netbeans.org/main/rev/4f2075f06884 
which seems to be the only commit touching my file after my changes:

openide.loaders/test/unit/src/org/openide/text$ hg log -l 2 
ExternalDeleteOfModifiedFileTest.java
changeset:   73706:4f2075f06884
parent:      73670:416d3a9c923f
parent:      73705:4bb9f110a41c
user:        ffjre@netbeans.org
date:        Sun Mar 16 19:02:57 2008 +0100
summary:     Automated merge

changeset:   72318:5786e05105aa
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Mon Mar 10 11:28:16 2008 +0100
summary:     Making all lines on 80 character long, in second test


If it was only about this one test, I'd just fix it. But for last two days 
about fifteen tests in core started to fail, so it seems to me that the 
commit was quite broken and reverted a lot of useful work.

Does anyone care?
-jst
Comment 1 Peter Pis 2008-03-25 16:57:32 UTC
Closing. Everything works fine now.