monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Crash on git_export


From: Phil Hannent
Subject: Re: [Monotone-devel] Crash on git_export
Date: Wed, 16 Dec 2009 16:35:40 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 15/12/2009 05:22, Derek Scherger wrote:
On Mon, Dec 14, 2009 at 9:34 AM, Phil Hannent <address@hidden> wrote:
Hello,

I am running a git_export command with monotone 0.45 on
Windows XP in a cygwin shell, however it fails with:

mtn:   loading
mtn: 2558/2558
fatal: Unsupported command: blob
fast-import: dumping crash report to .git/fast_import_crash_3744

I notice that there was a fix to a regression for the export in the development source, am I seeing what has been fixed or something completely different?

http://viewmtn.angrygoats.net/all/revision/file/a4499efd0bc957705460b3a1a17ca87172e64683/NEWS

Whilst I note that the crash is with git I figure that monotone is sending something it does not like.

It sounds like git doesn't like the blob command, but that doesn't make a lot of sense, since that's how you send data to it.

What version of git are you running?
$ git --version
git version 1.6.5.1.1367.gcd48

Does the git crash log contain anything helpful?
Not that I can tell, attached.

I assume you must be running through a pipe and it doesn't look like your database is all that big, so can you export to a file and import from that?
To be honest I am not sure how I would go about that?  I have just tried:

$ mtn git_export --db ../lynx.mtn --refs=revs --authors-file=authors_map.txt --use-one-changelog > text.txt

When I do:
less text.txt

The line ending are ^M oddly.

Is there any chance that the pipe or something else is turning blob\n" into "blob\r\n" and the unsupported command is "blob\r" ?
Could well be.  I guess I might be the first person to try this on Windows.

Once you have exported to a file can you import the first half of the file, the first quarter, or the first few revs?
I am not sure how to pipe the file into git.


Hope this helps.
I appreciate your reply.

Regards
Phil Hannent

Attachment: fast_import_crash_3744
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]