Jump to content

Git Import Failure


adamhill

Recommended Posts

I did a:

git fast-export --all --tag-of-filtered-object=drop --signed-tags=strip > repo.fe

followed by a

cm mkrep v@localhost:8087

this resuled in a 0.98 GB repo.fe file

then I tried

cm fast-import v@localhost:8087 repo.fe --stats

and got

]uldn't process command [??b l o b

]ror: Couldn't process command [??b l o b

Is there any way to test the integrity of my .fe file?

Adam Hill

Link to comment
Share on other sites

Wow,

Really weird, never seen it before.

Ok, let's try this.

Create a cm.log.conf file at your client's location (where cm.exe is) with this content

<log4net>

<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">

<layout type="log4net.Layout.PatternLayout">

<conversionPattern value="%date %thread %property{UserID} %property{TransactionID} %property{ClientMachine} %-5level %logger - %message%newline" />

</layout>

</appender>

<root>

<level value="DEBUG" />

<appender-ref ref="ConsoleAppender" />

</root>

</log4net>

Run cm fast-import newrepo@localhost:8087 repo.fe --stats

And let's see what happens.

pablo

Link to comment
Share on other sites

Now we get:

---

C:\Dev\OnAsset\Vision> cm fast-import vision@oai-33:8087 repo.fe --stats

2011-11-22 17:07:43,188 6292 (null) (null) (null) INFO cm - STARTING CLIENT

2011-11-22 17:07:43,516 6292 (null) (null) (null) DEBUG ClientConfig - Time loa

ing client.conf (C:\Users\ahill\AppData\Local\plastic4\client.conf) 265 ms

2011-11-22 17:07:43,648 6292 (null) (null) (null) DEBUG UserInfo - Time retriev

ng CurrentUser 16 ms

2011-11-22 17:07:43,682 6292 (null) (null) (null) INFO BufferPool - [Compressi

nPool] BufferPool created with 5.00 Mb size and 5 max buffers

2011-11-22 17:07:44,730 6292 (null) (null) (null) DEBUG Channel - Create conect

on 1014 ms. (host:oai-33 port:8087 ssl:False)

2011-11-22 17:07:44,779 6292 (null) (null) (null) DEBUG BufferPool - -> Enterin

with name CompressionPool (5)

2011-11-22 17:07:44,780 6292 (null) (null) (null) DEBUG BufferPool - Compressio

Pool [1] buffers allocated

2011-11-22 17:07:44,784 6292 (null) (null) (null) DEBUG BufferPool - -> Enterin

with name CompressionPool (4)

2011-11-22 17:07:44,784 6292 (null) (null) (null) DEBUG BufferPool - Compressio

Pool [2] buffers allocated

2011-11-22 17:07:44,790 6292 (null) (null) (null) INFO Serialization - Uncompr

ssed 483 bytes in 756 bytes. Time: 0 ms.

2011-11-22 17:07:44,792 6292 (null) (null) (null) DEBUG BufferPool - <- Releasi

g with name CompressionPool (3)

2011-11-22 17:07:44,801 6292 (null) (null) (null) DEBUG BufferPool - <- Releasi

g with name CompressionPool (4)

2011-11-22 17:07:44,803 6292 (null) (null) (null) DEBUG ClientSink - | GetRepos

toryInfo | proc 1107 | 1 | 11404672

]uldn't process command [??b l o b

]ror: Couldn't process command [??b l o b

2011-11-22 17:07:44,841 6292 (null) (null) (null) ERROR cm - Error: Couldn't pr

]ss command [??b l o b

2011-11-22 17:07:44,847 6292 (null) (null) (null) ERROR cm - at gi.a(Reposit

ryInfo A_0, String A_1, a A_2, String A_3, String A_4, Boolean A_5, Boolean A_6

at mz.a(b A_0)

at w1.c(String[] A_0)

---

Adam

Link to comment
Share on other sites

I just did a clean clone from our git repo and did a:

git fast-export --all -C --tag-of-filtered-object=drop --signed-tags=strip > repo.fe (with the -C as per the twitter post)

I got a repo.fe of roughly the same size. Did an import again and got:

2011-11-23 09:03:34,975 7692 (null) (null) (null) INFO cm - STARTING CLIENT

2011-11-23 09:03:35,281 7692 (null) (null) (null) DEBUG ClientConfig - Time load

ing client.conf (C:\Users\ahill\AppData\Local\plastic4\client.conf) 234 ms

2011-11-23 09:03:35,435 7692 (null) (null) (null) DEBUG UserInfo - Time retrievi

ng CurrentUser 16 ms

2011-11-23 09:03:35,468 7692 (null) (null) (null) INFO BufferPool - [Compressio

nPool] BufferPool created with 5.00 Mb size and 5 max buffers

2011-11-23 09:03:35,512 7692 (null) (null) (null) DEBUG Channel - Create conecti

on 16 ms. (host:localhost port:8087 ssl:False)

2011-11-23 09:03:35,560 7692 (null) (null) (null) DEBUG BufferPool - -> Entering

with name CompressionPool (5)

2011-11-23 09:03:35,561 7692 (null) (null) (null) DEBUG BufferPool - Compression

Pool [1] buffers allocated

2011-11-23 09:03:35,563 7692 (null) (null) (null) DEBUG BufferPool - -> Entering

with name CompressionPool (4)

2011-11-23 09:03:35,564 7692 (null) (null) (null) DEBUG BufferPool - Compression

Pool [2] buffers allocated

2011-11-23 09:03:35,571 7692 (null) (null) (null) INFO Serialization - Uncompre

ssed 483 bytes in 756 bytes. Time: 15 ms.

2011-11-23 09:03:35,573 7692 (null) (null) (null) DEBUG BufferPool - <- Releasin

g with name CompressionPool (3)

2011-11-23 09:03:35,581 7692 (null) (null) (null) DEBUG BufferPool - <- Releasin

g with name CompressionPool (4)

2011-11-23 09:03:35,582 7692 (null) (null) (null) DEBUG ClientSink - | GetReposi

toryInfo | proc 93 | 1 | 11406944

]uldn't process command [??b l o b

]ror: Couldn't process command [??b l o b

2011-11-23 09:03:35,668 7692 (null) (null) (null) ERROR cm - Error: Couldn't pro

]ss command [??b l o b

2011-11-23 09:03:35,699 7692 (null) (null) (null) ERROR cm - at gi.a(Reposito

ryInfo A_0, String A_1, a A_2, String A_3, String A_4, Boolean A_5, Boolean A_6)

at mz.a(b A_0)

at w1.c(String[] A_0)

Thanks

Adam

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...