Bug 778369 - Allow loading bzexport.py for backwards compatibility. r=ted
authorSteve Fink <sfink@mozilla.com>
Tue, 28 Aug 2012 11:45:59 -0700
changeset 96 2b4c58391a18c77cdbc1e789af38cfaf586db3d3
parent 95 3e77fe1a446e52eb9c3511bb667f26f28627cf63
child 97 ac3c62d7428355d1ec5559f643a28740293bb0cc
push id41
push usersfink@mozilla.com
push dateTue, 28 Aug 2012 18:50:45 +0000
reviewersted
bugs778369
Bug 778369 - Allow loading bzexport.py for backwards compatibility. r=ted
bzexport.py
new file mode 100644
--- /dev/null
+++ b/bzexport.py
@@ -0,0 +1,7 @@
+import sys
+import os.path
+from mercurial import extensions
+
+# Redirect to __init__.py
+myfile = sys.modules['hgext_bzexport'].__file__
+extensions.loadpath(os.path.dirname(myfile), 'hgext.bzexport')