Skip to content

Instantly share code, notes, and snippets.

Procedure for patching hg-git into Windows Mercurial
Tested on Windows 10, Mercurial 4.9.1, and Python 2.7 on March 26, 2019
1. Install Mercurial and Python 2.7
Assume Mercurial is in C:\Program Files\Mercurial, Python 2.7 is in C:\Python27\python.exe
2. Copy mercurial's library.zip to a place in TEMP
mkdir ${env:TEMP}\mercurial

Keybase proof

I hereby claim:

  • I am jmwilson on github.
  • I am jwilson (https://keybase.io/jwilson) on keybase.
  • I have a public key ASA1rPO8-U4wBBuB_x6GPggZiYxLtvMQwgh99LbgqpvNJgo

To claim this, I am signing this object:

@jmwilson
jmwilson / patch
Created October 18, 2015 01:40
Leap Motion installer patch
diff --git a/orig/DEBIAN/postinst b/leap/DEBIAN/postinst
index 750a6b2..5590506 100755
--- a/orig/DEBIAN/postinst
+++ b/leap/DEBIAN/postinst
@@ -1,49 +1,10 @@
#!/bin/bash -e
echo 'Leap Motion installed under /usr/bin and /usr/sbin'
-LSB_RELEASE=$(which lsb_release 2> /dev/null) || true
-if [ -n "${LSB_RELEASE}" ]; then