File: mercurial_extension_utils_loader.py

package info (click to toggle)
mercurial-extension-utils 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 1,385; makefile: 7; sh: 4
file content (11 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11

import os, sys

THE_DIR = os.path.dirname(os.path.abspath(__file__))

sys.path.append(THE_DIR)

# This makes this dir a winner (but later)
#
# def extsetup(ui):
#     sys.path.insert(0, THE_DIR)