Mercurial > hg > hg-fastimport
comparison hgext3rd/fastimport/vendor/python_fastimport/processors/filter_processor.py @ 88:2fc99e3479d9
python-fastimport: Import our own modules using relative pathing
This allows python-fastimport to be embedded as vendor code within
other modules.
This patch has been accepted upstream.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 19 Jan 2021 23:00:01 +0000 |
| parents | 28704a2a7461 |
| children |
comparison
equal
deleted
inserted
replaced
| 87:51664f5abc3a | 88:2fc99e3479d9 |
|---|---|
| 12 # | 12 # |
| 13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
| 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | 15 |
| 16 """Import processor that filters the input (and doesn't import).""" | 16 """Import processor that filters the input (and doesn't import).""" |
| 17 from fastimport import ( | 17 from .. import ( |
| 18 commands, | 18 commands, |
| 19 helpers, | 19 helpers, |
| 20 processor, | 20 processor, |
| 21 ) | 21 ) |
| 22 import stat | 22 import stat |
