hgext/__init__.py
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 29 Mar 2019 21:53:15 -0400
changeset 42051 f4147ca63d39
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
uncommit: abort if an explicitly given file cannot be uncommitted (BC) I've gotten burned several times by this in the last few days. The former tests look simple enough, but if a good file and a bad file are given, the bad files are silently ignored. Some commands like `forget` will warn about bogus files, but that would likely get lost in the noise of an interactive uncommit. The commit command aborts if a bad file is given, so this seems more consistent for commands that alter the repository.

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