hgext/__init__.py
author Mark Thomas <mbthomas@fb.com>
Mon, 11 Sep 2017 17:49:49 +0000
changeset 34146 9e4f82bc2b0b
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
scmutil: don't append .orig to backups in origbackuppath (BC) When ui.origbackuppath is set, .orig files are stored outside of the working copy, however they still have a .orig suffix appended to them. This can cause unexpected conflicts, particularly when tracked files or directories have .orig at the end. This change removes the .orig suffix from files stored in an out-of-tree origbackuppath. Test Plan: Update and run unit tests. Differential Revision: https://phab.mercurial-scm.org/D679

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)