darcs

Issue 2073 patch containing contents of new directory without the dir (2.7.2)

Title patch containing contents of new directory without the dir (2.7.2)
Priority bug Status duplicate
Milestone Resolved in
Superseder Darcs regression: 2.5 creates a broken patch
View: 2049
Nosy List kowey
Assigned To
Topics

Created on 2011-05-07.11:48:16 by kowey, last changed 2011-05-07.12:56:46 by kowey.

Messages
msg13987 (view) Author: kowey Date: 2011-05-07.11:48:14
In my existing darcs repo, I did something like

cd data
mkdir dev-set.orig
cd dev-set.orig
cp /tmp/blah/*.para .
darcs add . *.para
darcs record .

This created a patch that is missing the dev-set.orig dir,

Sat May  7 12:24:23 BST 2011  Eric Kow <E.Y.Kow@brighton.ac.uk>
      * New development set from Anja.
    
        A ./data/dev-set.orig/0200-Detling_Hill.para
        A ./data/dev-set.orig/0255-Beacon_Fell.para
        A ./data/dev-set.orig/0282-The_Chevin.para
        A ./data/dev-set.orig/0297-Walbury_Hill.para
        A ./data/dev-set.orig/0319-Long_Crag.para
        A ./data/dev-set.orig/0478-Mynydd_Eppynt.para
        A ./data/dev-set.orig/0543-Meall_na_Suiramach.para
        A ./data/dev-set.orig/0564-Yr_Eifl.para
        A ./data/dev-set.orig/0619-Gallt_y_Daren.para
        A ./data/dev-set.orig/0646-Pen_y_Boncyn_Trefeilw.para
        A ./data/dev-set.orig/0690-Twmpa.para
        A ./data/dev-set.orig/0691-Foel_Wen.para
        A ./data/dev-set.orig/0751-Moel_Llyfnant.para
        A ./data/dev-set.orig/0799-Pen_Llithrig_y_Wrach.para
        A ./data/dev-set.orig/0933-Maol_Chean-dearg.para
        A ./data/dev-set.orig/0933-The_Cairnwell.para
        A ./data/dev-set.orig/0934-Broad_Crag.para
        A ./data/dev-set.orig/0991-Sgairneach_Mhor.para
        A ./data/dev-set.orig/0999-Glyder_Fawr.para
        A ./data/dev-set.orig/1155-Derry_Cairngorm.para

Which reasonably enough leads to a

darcs failed:  Error creating file ./data/dev-set.orig/0200-
Detling_Hill.para

when you try to apply the patch

Can anybody else reproduce something like this?
msg13988 (view) Author: kowey Date: 2011-05-07.11:52:51
Oh, I'm doing this on Linux, by the way
msg13989 (view) Author: kowey Date: 2011-05-07.12:56:45
Nothing to see, just an issue2049 duplicate
History
Date User Action Args
2011-05-07 11:48:16koweycreate
2011-05-07 11:52:52koweysetmessages: + msg13988
2011-05-07 12:56:46koweysetstatus: needs-reproduction -> duplicate
messages: + msg13989
superseder: + Darcs regression: 2.5 creates a broken patch