Submitter | phabricator |
---|---|
Date | Feb. 26, 2018, 12:32 p.m. |
Message ID | <differential-rev-PHID-DREV-neeovaogywfuxmbs54wy-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/28391/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/archival.py b/mercurial/archival.py --- a/mercurial/archival.py +++ b/mercurial/archival.py @@ -38,7 +38,7 @@ if prefix: prefix = util.normpath(prefix) else: - if not isinstance(dest, str): + if not isinstance(dest, bytes): raise ValueError('dest must be string if no prefix') prefix = os.path.basename(dest) lower = prefix.lower()