##// END OF EJS Templates
fix(git ops): moved git operations into vcsserver and use libgit2 when possible....
fix(git ops): moved git operations into vcsserver and use libgit2 when possible. This fixes issues with calling merge-base on repos that are not fully in sync

File last commit:

r1250:2c57bb5b default
r1337:1fc1a507 default
Show More
ext_json.py
14 lines | 294 B | text/x-python | PythonLexer
core: synced vendor/ext_json with ce for better compatability
r1250 import json as stdlib_json
try:
# we keep simplejson for having dump functionality still
# orjson doesn't support it
import simplejson as sjson
except ImportError:
sjson = stdlib_json
try:
import orjson
import orjson as json
except ImportError:
json = stdlib_json