hgext/__init__.py
author Durham Goode <durham@fb.com>
Mon, 24 Aug 2015 19:33:36 -0700
changeset 26076 cebf7e48365e
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
paths: move path validation logic to its own function Hard coding the '.hg' path in the paths class made it difficult for the hggit extension to pull from gitrepos. This patch moves the logic out to it's own function so extensions can add additional checks to what is a valid path (i.e. a git repo is valid when hggit is enabled).

# placeholder