mpatch.mpatchError: patch cannot be decoded

Matt Mackall mpm at selenic.com
Sat Jul 25 18:57:29 CDT 2009


[be sure to keep the list cc: to the list if you want me to respond]

On Sat, 2009-07-25 at 17:32 -0600, Dj Gilcrease wrote:
> Ok I have done a little more testing, and when I create the repo from
> scratch on my Ubuntu box I am able to pull/update with no issues

Please tell us more about your setup. What Linux kernel version? CIFS or
SMB? Virus scanners? Virtualization tools? Etc.

> digitalxero at digitalxero-desktop:~/Desktop$ mkdir TestRepo
> digitalxero at digitalxero-desktop:~/Desktop$ cd TestRepo
> digitalxero at digitalxero-desktop:~/Desktop/TestRepo$ hg init
> digitalxero at digitalxero-desktop:~/Desktop/TestRepo$ hg addremove
> adding Testdoc.txt
> digitalxero at digitalxero-desktop:~/Desktop/TestRepo$ hg commit -m "Initial setup"
> No username found, using 'digitalxero at digitalxero-desktop' instead
> digitalxero at digitalxero-desktop:~/Desktop/TestRepo$ cd ..
> digitalxero at digitalxero-desktop:~/Desktop$ mkdir TestPull
> digitalxero at digitalxero-desktop:~/Desktop$ cd TestPull
> digitalxero at digitalxero-desktop:~/Desktop/TestPull$ hg init
> digitalxero at digitalxero-desktop:~/Desktop/TestPull$ hg pull ../TestRepo
> pulling from ../TestRepo
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 1 changesets with 1 changes to 1 files
> (run 'hg update' to get a working copy)
> digitalxero at digitalxero-desktop:~/Desktop/TestPull$ hg update -C tip
> 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
> 
> 
> But if I just copy those directories over to my shared folder and make
> a change to the repo and try and pull (or do an incoming) it corrupts
> the repo I am pulling into
> 
> digitalxero at digitalxero-desktop:~/Desktop/TestPull$ cd ../OpenRPG/TestRepo
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestRepo$ hg commit
> -m "Update"
> No username found, using 'digitalxero at digitalxero-desktop' instead
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestRepo$ cd ../TestPull
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestPull$ hg
> incoming ../TestRepo
> comparing with ../TestRepo
> abort: index 00changelog.i is corrupted!
> 
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestPull$ hg verify
> checking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
> 1 files, 1 changesets, 1 total revisions
> 
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestPull$ cd ../TestRepo
> digitalxero at digitalxero-desktop:~/Desktop/OpenRPG/TestRepo$ hg verify
> abort: index 00changelog.i is corrupted!
> 
> 
> 
> So this tells me that something about the repo being in a shared
> folder which resides on a windows box is causing corruption when hg
> attempts to write to the repo since the test repo became corrupted
> when I performed the commit.

More likely something about your system config is seriously broken, as
otherwise we would have heard about this problem before now. We'll
probably need a copy of your damaged test repo along with a minimal test
script to create it.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list