mercurial/archival.py
changeset 48893 895085109842
parent 48882 640e1cb6a7de
child 48913 f254fc73d956
--- a/mercurial/archival.py	Thu Mar 03 07:58:29 2022 -0800
+++ b/mercurial/archival.py	Mon Feb 21 10:31:00 2022 -0700
@@ -305,9 +305,6 @@
     subrepos tells whether to include subrepos.
     """
 
-    if kind == b'txz' and not pycompat.ispy3:
-        raise error.Abort(_(b'xz compression is only available in Python 3'))
-
     if kind == b'files':
         if prefix:
             raise error.Abort(_(b'cannot give prefix when archiving to files'))