Mercurial > hg
comparison hgext/keyword.py @ 48990:d9ed7c5e915d stable
streamclone: avoid some obscure error in a corner case
I don't really know how, but I ran into this error:
$ hg clone --stream ssh://user@dummy/empty-repo local-empty-repo
streaming all changes
abort: unable to apply stream clone: unsupported format:
[255]
I think you need an empty list of requirements for this to happen,
which is weird, but an obscure error like this is not exactly helpful
either. Since this is the result of an encoding bug anyway, just fix
it.
Differential Revision: https://phab.mercurial-scm.org/D12402
author | Valentin Gatien-Baron <vgatien-baron@janestreet.com> |
---|---|
date | Thu, 24 Mar 2022 12:27:21 -0400 |
parents | 4237be881bb6 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
48989:d4b66dc500c5 | 48990:d9ed7c5e915d |
---|