[darcs-devel] [issue661] put => "Malformed patch bundle"

Mark Stosberg bugs at darcs.net
Fri Feb 8 03:57:49 UTC 2008


New submission from Mark Stosberg <mark at summersault.com>:

I'm marking this as urgent because darcs reports this as a bug itself, and it's
rather easy to trigger with the current darcs-unstable. 

#!/bin/sh

IFS='';
export IFS;
EMAIL=tester;
export EMAIL;

set -ev;

rm -rf tmp;
darcs init --darcs-2 --repodir=tmp
touch tmp/t.t
cd tmp
darcs add t.t
echo 'content'>t.t
darcs record -am 'initial add'
echo 'remote change'>t.t
darcs record -am 'remote change'
darcs put tmp2

####

Result is: 

darcs failed:  Malformed patch bundle: 'hunk ./t.t 1' is not 'Context:'

+content

Context:

Patch bundle hash:
5818289a101f72e75fbbb0caf2475b58ef48bf86

Apply failed!

shell returned 2

----------
messages: 3227
nosy: beschmi, droundy, kowey, markstos, tommy
priority: urgent
status: chatting
title: put => "Malformed patch bundle"
topic: Darcs2, IncludesExampleOrTest

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue661>
__________________________________


More information about the darcs-devel mailing list