darcs

Issue 1297 attempt to write an invalid pending at src/Darcs/Repository/Internal.lhs:299

Title attempt to write an invalid pending at src/Darcs/Repository/Internal.lhs:299
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, lists, thorkilnaur
Assigned To
Topics

Created on 2009-01-02.14:28:45 by lists, last changed 2009-08-27.14:16:04 by admin.

Files
File name Uploaded Type Edit Remove
pending_buggy lists, 2009-01-02.14:28:41 text/plain
Messages
msg6953 (view) Author: lists Date: 2009-01-02.14:28:42
darcs --exact-version

pbw@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@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@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@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@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@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@jezebel:~/netbeans/darcs/LineFold> ls
boring  build  build-before-profiler.xml  build.xml  _darcs  dist  html
 manifest.mf  nbproject  src  test
pbw@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@jezebel:~/netbeans/darcs/LineFold> darcs remove
./nbproject/private/private.xml
pbw@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@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@jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDetails.java
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
pbw@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@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@jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java
pbw@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@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@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@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@jezebel:~/netbeans/darcs/LineFold> mv
./src/au/id/pbw/linefold/tests/ResizeDetails.java
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
pbw@jezebel:~/netbeans/darcs/LineFold> darcs mv
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
./src/au/id/pbw/linefold/tests/ResizeDetails.java
pbw@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@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@jezebel:~/netbeans/darcs/LineFold> darcs repair
Fixing pristine tree...
pbw@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@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@darcs.net
If possible include the output of 'darcs --exact-version'.
Failed to record patch 'Added profiling.'
Attachments
msg7036 (view) Author: twb Date: 2009-01-11.13:41:48
Thanks for your report, pbw!
In future, please try to use a more informative subject (which becomes the bug title).
Doing so helps us triage (and ultimate fix) bugs faster.
msg7473 (view) Author: thorkilnaur Date: 2009-03-16.15:23:00
Thanks a lot for this bug report. I hope that you have been able to work around 
these difficulties.

Using darcs 2.0.2, I have been able to reproduce some of the curious behaviour 
that you describe. At the same time, I have been unable to reproduce the same 
behaviour with darcs 2.1.2. Details follow. Based on this, I have closed the 
issue as resolved. But I stress that there are still some of the behaviour that 
you have described that I have not been able to reproduce exactly. So please 
feel free reopen the issue if you still are having these problems with darcs 
2.1.2 or later versions.

Here are some details:

The first curious behaviour that I have observed is darcs' failure to detect the 
file ./src/au/id/pbw/linefold/tests/ResizeDimensions.java (I assume that your 
"whats" command is "darcs whatsnew -s"):

> pbw@jezebel:~/netbeans/darcs/LineFold> whats
> ...
> R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
> M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
> pbw@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@jezebel:~/netbeans/darcs/LineFold> mv 
./src/au/id/pbw/linefold/tests/ResizeDetails.java 
./src/au/id/pbw/linefold/tests/ResizeDimensions.java
> pbw@jezebel:~/netbeans/darcs/LineFold> whats
> ...
> R ./src/au/id/pbw/linefold/tests/ResizeDimensions.java
> M ./src/au/id/pbw/linefold/tests/SizeChangeMonitor.java -16 +41
> pbw@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@jezebel:~/netbeans/darcs/LineFold>

So, in spite of your having created 
./src/au/id/pbw/linefold/tests/ResizeDimensions.java (again), darcs is not 
detecting it. This is perhaps routine darcs knowledge, but it took me a while to 
figure out that this happens when you use "darcs remove" on a file.

The other behaviour that I will address is this:

> pbw@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@jezebel:~/netbeans/darcs/LineFold>

I was able to reproduce this using darcs 2.0.2 as follows:

> $ mkdir repo11
> $ cd repo11 
> $ darcs --version
> 2.0.2 (release)
> $ darcs init
> $ echo f.txt contents >f.txt
> $ darcs add f.txt
> $ darcs record -m 'Add f.txt' -A thorkil -a
> Finished recording patch 'Add f.txt'
> $ darcs remove f.txt
> $ darcs record -m 'Remove f.txt' -A thorkil -a
> Finished recording patch 'Remove f.txt'
> $ darcs whatsnew
> No changes!
> $ cat f.txt
> f.txt contents
> $ darcs unrecord
> Mon Mar 16 16:03:11 CET 2009  thorkil
>   * Remove f.txt
> Shall I unrecord this patch? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
> Mon Mar 16 16:03:11 CET 2009  thorkil
>   * Add f.txt
> Shall I unrecord this patch? (2/2)  [ynWsfvpxdaqjk], or ? for help: n
> Finished unrecording.
> $ darcs whatsnew
> rmfile ./f.txt
> $ darcs record -m 'Remove f.txt again' -A thorkil   
> rmfile ./f.txt
> Shall I record this change? (1/1)  [ynWsfvpxdaqjk], or ? for help: y
> 
> darcs failed:  Cannot remove non-empty file ./f.txt
> Your repository is now in an inconsistent state.
> This must be fixed by running darcs repair.
> 
> 
> Failed to record patch 'Remove f.txt again'
> 
> $ 

With darcs 2.1.2, however, the same sequence of commands succeeds:

> $ mkdir repo12
> $ cd repo12
> $ darcs --version
> 2.1.2 (release)
> $ darcs init
> $ echo f.txt contents >f.txt
> $ darcs add f.txt
> $ darcs record -m 'Add f.txt' -A thorkil -a
> Finished recording patch 'Add f.txt'
> $ darcs remove f.txt 
> $ darcs record -m 'Remove f.txt' -A thorkil -a
> Finished recording patch 'Remove f.txt'
> $ darcs whatsnew
> No changes!
> $ cat f.txt 
> f.txt contents
> $ darcs unrecord
> Mon Mar 16 16:08:47 CET 2009  thorkil
>   * Remove f.txt
> Shall I unrecord this patch? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
> Mon Mar 16 16:08:46 CET 2009  thorkil
>   * Add f.txt
> Shall I unrecord this patch? (2/2)  [ynWsfvpxdaqjk], or ? for help: n
> Finished unrecording.
> $ darcs whatsnew                                    
> hunk ./f.txt 1
> -f.txt contents
> rmfile ./f.txt
> $ darcs record -m 'Remove f.txt again' -A thorkil   
> hunk ./f.txt 1
> -f.txt contents
> Shall I record this change? (1/2)  [ynWsfvpxdaqjk], or ? for help: y
> rmfile ./f.txt
> Shall I record this change? (2/2)  [ynWsfvpxdaqjk], or ? for help: y
> Finished recording patch 'Remove f.txt again'
> $ 

In both cases, however, "darcs check" did not report any inconsistencies and I 
was not able to reproduce the "Yikes, pending has conflicts!" reaction.

Thanls again and best regards
Thorkil
History
Date User Action Args
2009-01-02 14:28:46listscreate
2009-01-11 13:41:51twbsetstatus: unread -> unknown
nosy: + twb
messages: + msg7036
title: Bug report as requested -> attempt to write an invalid pending at src/Darcs/Repository/Internal.lhs:299
2009-03-16 15:23:04thorkilnaursetpriority: bug
status: unknown -> resolved
messages: + msg7473
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin, lists
2009-03-16 23:11:49twbsetnosy: - twb
2009-08-25 17:37:45adminsetnosy: + darcs-devel, - simon
2009-08-27 14:16:04adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, lists