[darcs-devel] [issue1297] Bug report as requested

Peter B. West bugs at darcs.net
Fri Jan 2 14:28:46 UTC 2009


New submission from Peter B. West <lists at pbw.id.au>:

darcs --exact-version

pbw at jezebel:~/netbeans/darcs/LineFold> darcs --exact-version
darcs compiled on Aug 12 2008, at 21:27:48
# configured Mon Jun 23 18:19:52 PDT 2008
./configure /usr/local/share/config.site /usr/local/etc/config.site

Context:

[TAG 2.0.2
David Roundy <droundy at darcs.net>**20080624012041]

The problem may relate to a file rename by my IDE, which I forgot about,
and later tried to introduce manually. The file ResizeDimensions was
renamed (with other changes) to ResizeDetails.

Transcript follows.

pbw at jezebel:~/netbeans/darcs/LineFold> whats
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
M ./nbproject/private/private.xml -1 +13
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> what ./build.xml
What's new in "build.xml":

hunk ./build.xml 13
-    <!--
+
+    <import file="nbproject/profiler-build-impl.xml"/>    <!--
pbw at jezebel:~/netbeans/darcs/LineFold> what ./nbproject/genfiles.properties
What's new in "nbproject/genfiles.properties":

hunk ./nbproject/genfiles.properties 9
+nbproject/profiler-build-impl.xml.data.CRC32=6644e70e
+nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
+nbproject/profiler-build-impl.xml.stylesheet.CRC32=42cb6bcf
pbw at jezebel:~/netbeans/darcs/LineFold> what ./nbproject/private/private.xml
What's new in "nbproject/private/private.xml":

hunk ./nbproject/private/private.xml 3
-    <editor-bookmarks
xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
+    <data xmlns="http://www.netbeans.org/ns/profiler/1" version="0.9.1"/>
+    <editor-bookmarks
xmlns="http://www.netbeans.org/ns/editor-bookmarks/1">
+        <file>
+            <url>src/au/id/pbw/linefold/LineBox.java</url>
+            <line>119</line>
+        </file>
+        <file>
+            <url>src/au/id/pbw/linefold/ParagraphData.java</url>
+            <line>522</line>
+            <line>831</line>
+            <line>945</line>
+        </file>
+    </editor-bookmarks>
pbw at jezebel:~/netbeans/darcs/LineFold> ls
boring  build  build-before-profiler.xml  build.xml  _darcs  dist  html
 manifest.mf  nbproject  src  test
pbw at jezebel:~/netbeans/darcs/LineFold> whats
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
M ./nbproject/private/private.xml -1 +13
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> darcs remove
./nbproject/private/private.xml
pbw at jezebel:~/netbeans/darcs/LineFold> whats
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
R ./nbproject/private/private.xml
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java
mv: cannot stat `./src/au/id/pbw/linefold/tests/ResizeDimensions.java':
No such file or directory
pbw at jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDetails.java
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
pbw at jezebel:~/netbeans/darcs/LineFold> whats
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
R ./nbproject/private/private.xml
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> darcs mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java

darcs failed:  There is no file or dir named
src/au/id/pbw/linefold/tests/ResizeDimensions.java in the repository.
pbw at jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java
pbw at jezebel:~/netbeans/darcs/LineFold> darcs revert
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
Reverting changes in "src/au/id/pbw/linefold/tests/ResizeDimensions.java"..

hunk ./src/au/id/pbw/linefold/tests/ResizeDimensions.java 1
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package au.id.pbw.linefold.tests;
-
-import au.id.pbw.linefold.*;
-import java.awt.Dimension;
-import java.awt.Insets;
-
-/**
- *
- * @author pbw
- */
-public class ResizeDimensions {
-
-    /*package*/ Insets insets;
-    /*package*/ Dimension dimensions;
-    /*package*/ double available_width;
-    /*package*/ double available_height;
-    /*package*/ double width;
-    /*package*/ double height;
-    /*package*/ double left_edge;
-    /*package*/ double right_edge;
-
-    public ResizeDimensions(ParagraphLayoutPanel panel) {
-        insets = panel.getInsets();
-        System.err.println(String.format("tlw Insets t %d b %d l %d r %d",
-                insets.top, insets.bottom, insets.left, insets.right));
-        dimensions = panel.getSize();
-        width = dimensions.width;
-        left_edge = insets.left;
-        right_edge = dimensions.getWidth() - insets.right;
-        available_width = right_edge - left_edge;
-        System.err.println("tlw available_width " + available_width);
-        height = dimensions.getHeight();
-        available_height = height - insets.top - insets.bottom;
-        System.err.println("worker constructor " + this +
-                " available_width " + available_width);
-    }
-
-}
Shall I revert this change? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
Skipped revert of 1 patch.
Do you really want to revert these changes? no
pbw at jezebel:~/netbeans/darcs/LineFold> darcs revert
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
Reverting changes in "src/au/id/pbw/linefold/tests/ResizeDimensions.java"..

hunk ./src/au/id/pbw/linefold/tests/ResizeDimensions.java 1
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package au.id.pbw.linefold.tests;
-
-import au.id.pbw.linefold.*;
-import java.awt.Dimension;
-import java.awt.Insets;
-
-/**
- *
- * @author pbw
- */
-public class ResizeDimensions {
-
-    /*package*/ Insets insets;
-    /*package*/ Dimension dimensions;
-    /*package*/ double available_width;
-    /*package*/ double available_height;
-    /*package*/ double width;
-    /*package*/ double height;
-    /*package*/ double left_edge;
-    /*package*/ double right_edge;
-
-    public ResizeDimensions(ParagraphLayoutPanel panel) {
-        insets = panel.getInsets();
-        System.err.println(String.format("tlw Insets t %d b %d l %d r %d",
-                insets.top, insets.bottom, insets.left, insets.right));
-        dimensions = panel.getSize();
-        width = dimensions.width;
-        left_edge = insets.left;
-        right_edge = dimensions.getWidth() - insets.right;
-        available_width = right_edge - left_edge;
-        System.err.println("tlw available_width " + available_width);
-        height = dimensions.getHeight();
-        available_height = height - insets.top - insets.bottom;
-        System.err.println("worker constructor " + this +
-                " available_width " + available_width);
-    }
-
-}
Shall I revert this change? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
Skipped revert of 1 patch.
Do you really want to revert these changes? y
Finished reverting.
pbw at jezebel:~/netbeans/darcs/LineFold> whats
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
R ./nbproject/private/private.xml
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> darcs mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java

darcs failed:  A file or dir named
src/au/id/pbw/linefold/tests/ResizeDetails.java (or perhaps differing
only in case)
already exists in working directory.
Use --case-ok to allow files differing only in case.
pbw at jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDetails.java
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
pbw at jezebel:~/netbeans/darcs/LineFold> darcs mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java
pbw at jezebel:~/netbeans/darcs/LineFold> whats
 ./src/au/id/pbw/linefold/tests/ResizeDimensions.java ->
./src/au/id/pbw/linefold/tests/ResizeDetails.java
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
R ./nbproject/private/private.xml
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -2 +7
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
M ./src/au/id/pbw/linefold/tests/ResizeDetails.java -7 +8
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> darcs record
./nbproject/private/private.xml
Recording changes in "nbproject/private/private.xml":

rmfile ./nbproject/private/private.xml
Shall I record this change? (1/1)  [ynWsfvpxdaqjk], or ? for help: y
What is the patch name? Remove private.xml from repository.
Do you want to add a long comment? [yn]n

darcs failed:  Cannot remove non-empty file ./nbproject/private/private.xml
Your repository is now in an inconsistent state.
This must be fixed by running darcs repair.

Failed to record patch 'Remove private.xml from repository.'

pbw at jezebel:~/netbeans/darcs/LineFold> darcs repair
Fixing pristine tree...
pbw at jezebel:~/netbeans/darcs/LineFold> whats
Yikes, pending has conflicts!
 ./src/au/id/pbw/linefold/tests/ResizeDimensions.java ->
./src/au/id/pbw/linefold/tests/ResizeDetails.java
M ./build.xml -1 +2
M ./nbproject/genfiles.properties +3
R ./nbproject/private/private.xml
M ./src/au/id/pbw/linefold/ConstantWidthSource.java +9
M ./src/au/id/pbw/linefold/LineBox.java -3 +8
M ./src/au/id/pbw/linefold/Paragraph.java -1 +89
M ./src/au/id/pbw/linefold/ParagraphData.java -126 +20
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.form -6 +295
M ./src/au/id/pbw/linefold/tests/ParagraphDisplay.java -19 +273
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.form +3
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutPanel.java -55 +82
M ./src/au/id/pbw/linefold/tests/ParagraphLayoutWorker.java -15 +36
M ./src/au/id/pbw/linefold/tests/ParagraphTest.java -1 +1
R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
pbw at jezebel:~/netbeans/darcs/LineFold> darcs record ./build.xml
./nbproject/genfiles.properties
Recording changes in "build.xml" "nbproject/genfiles.properties":

Yikes, pending has conflicts!
hunk ./build.xml 13
-    <!--
+
+    <import file="nbproject/profiler-build-impl.xml"/>    <!--
Shall I record this change? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
hunk ./nbproject/genfiles.properties 9
+nbproject/profiler-build-impl.xml.data.CRC32=6644e70e
+nbproject/profiler-build-impl.xml.script.CRC32=abda56ed
+nbproject/profiler-build-impl.xml.stylesheet.CRC32=42cb6bcf
Shall I record this change? (2/2)  [ynWsfvpxdaqjk], or ? for help: y
What is the patch name? Added profiling.
Do you want to add a long comment? [yn]n

darcs failed:  bug in darcs!
There was an attempt to write an invalid pending!
If possible, please send the contents of _darcs/patches/pending_buggy
along with a bug report. at src/Darcs/Repository/Internal.lhs:299
compiled Aug 12 2008 21:18:29
I'm unable to check http://darcs.net/maintenance to see if this version
is supported.
If it is is supported, please report this to bugs at darcs.net
If possible include the output of 'darcs --exact-version'.
Failed to record patch 'Added profiling.'

----------
files: pending_buggy
messages: 6953
nosy: dmitry.kurochkin, kowey, lists, simon, thorkilnaur
status: unread
title: Bug report as requested

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1297>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pending_buggy
Url: http://lists.osuosl.org/pipermail/darcs-devel/attachments/20090102/98aa7305/attachment.diff 


More information about the darcs-devel mailing list