Repair a hg repo with broken origin? - mercurial

Not sure how I did it, but I broke my mercurial repo at rev 0...
checking files
WeberVent/Inc/stm32f0xx_it.h#0: 76907c5d3471 not in manifests
WeberVent/Inc/stm32f0xx_it.h#0: unpacking 76907c5d3471: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#1: unpacking 579dc194b480: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#22: unpacking f20e1ef46f49: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#32: unpacking 8d7ba8ea3a0a: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#34: unpacking b7db2e1be9f1: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#42: unpacking 8a85c32f2277: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#44: unpacking 1330863ae1d5: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#72: unpacking 7ae8c2f9a8e4: revlog decompress error: Error -3 while decompressing data: incorrect data check
WeberVent/Inc/stm32f0xx_it.h#0: 76907c5d3471 in manifests not found
I have a the files at those revisions (yay backups, but only the stm32f0xx_it.h files), but going through 4.3 at https://www.mercurial-scm.org/wiki/RepositoryCorruption just doesn't work:
C:\crap\HgFixes>hg clone -r 0 WeberVent2 fix
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: unexpected error: data/WeberVent/Inc/stm32f0xx_it.h.i#76907c5d3471: no node
So now what? Is there a way to stuff my archived stm32f0xx_it.h files back into the repo and make it whole again, or am I forced to "start a new rev0"?

Related

On Ubuntu 16.04, v8 build error

asiagaming#ubuntu:~/v8/v8$ make
make[1]: Entering directory '/home/asiagaming/v8/v8/out'
TOUCH bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
ACTION Generating inspector protocol sources from protocol json bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
CXX(target) /home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Protocol.cpp:7:
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Protocol.h:8:
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Forward.h:8:
.././src/inspector/string-util.h:8:10: fatal error: 'memory' file not found
#include <memory>
^~~~~~~~
1 error generated.
src/v8_base.target.ia32.release.mk:750: recipe for target '/home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o' failed
make[1]: *** [/home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o] Error 1
rm bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
make[1]: Leaving directory '/home/asiagaming/v8/v8/out'
Makefile:319: recipe for target 'ia32.release' failed
make: *** [ia32.release] Error 2
I've tried to build V8 engine, but above error msg is printed.
How to solve it ?
Does sudo apt-get install build-essential help?
(Side note: Simply invoking make is probably not what you want. Check out https://github.com/v8/v8/wiki/Building-with-GN.)

Error message when installing Hg

I've been trying to download Mercurial, using the following code:
brew install hg
However, I keep coming across the same error message.
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:47:10: fatal error: 'CarbonCore/TextCommon.h' file not found
#include <CarbonCore/TextCommon.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
make: *** [build] Error 1
I'm very new to this, so I'm unsure what to do.
Thank you.

Fatal error: require_once() [function.require]: Failed opening required global.php

I am try to open my site in locally. xampp is installed, but I get the following errors. How can I rectify this:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
And:
Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
This Warning is not Failed opening required global.php. This warning says line number 104 of global.php have a statement for requiring a file named class.inputfilter.php But, failed to load it.
This issue can occur in following cases :
--> File does not exists.
--> File exists but do not have READ permission.
Solution :
Go to the path :
/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/
and find the file named class.inputfilter.php.
If not found then get it from the fresh package of Virtuemart(Remember to check the version. Both files have to be from same Virtuemart version).
If exists then change its permissions to 644 or 755.

Why does periodic commit throw open transaction error for 11.8 example in 2.2.0-M02?

With Neo4j 2.2.0-M02, 11.8. Importing CSV files with Cypher" on 2.2.0-m02 fails with InvalidSemantics with "USING PERIODIC COMMIT" to load CSV in Cypher.
Error: "Executing queries that use periodic commit in an open transaction is not possible."
I think it was just a bug in M02, it is fixed in M03

What causes a Mercurial "revlog decompress error"?

Every few hg push pull operations, the repository gets corrupted, and I get the following errors:
$ hg update
abort: revlog decompress error: Error -3 while decompressing data: incorrect data check!
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
src/poisson/ep_laplace.cpp#3562: unpacking ec236be0206d: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3563: unpacking 430bb0f5162a: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3567: unpacking 4909a4b6eae1: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3601: unpacking a31db12adb94: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3605: unpacking eed043e92e13: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3624: unpacking 82712b875730: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3625: unpacking 6c8d858de500: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3626: unpacking f9ebcc4299b7: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3679: unpacking 8004dbef53aa: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3680: unpacking 9c0794be3e2b: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3683: unpacking 719d28962073: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3731: unpacking 1c6828ff0c18: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3732: unpacking 1b84208ef8a7: revlog decompress error: Error -3 while decompressing data: incorrect data check
src/poisson/ep_laplace.cpp#3738: unpacking 398a5a551736: revlog decompress error: Error -3 while decompressing data: incorrect data check
1648 files, 3739 changesets, 15186 total revisions
14 integrity errors encountered!
(first damaged changeset appears to be 3562)