Mercurial > hg
comparison tests/test-remotefilelog-clone.t @ 46977:3f87d2af0bd6
errors: raise RemoteError in some places in exchange.py
This is part of https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan
Differential Revision: https://phab.mercurial-scm.org/D10467
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 19 Apr 2021 12:52:23 -0700 |
parents | cc3ad5c3af3b |
children | 40b51c28b242 |
comparison
equal
deleted
inserted
replaced
46976:f9482db16cef | 46977:3f87d2af0bd6 |
---|---|
87 check its contents separately. | 87 check its contents separately. |
88 | 88 |
89 $ TEMP_STDERR=full-clone-from-shallow.stderr.tmp | 89 $ TEMP_STDERR=full-clone-from-shallow.stderr.tmp |
90 $ hg clone --noupdate ssh://user@dummy/shallow full 2>$TEMP_STDERR | 90 $ hg clone --noupdate ssh://user@dummy/shallow full 2>$TEMP_STDERR |
91 streaming all changes | 91 streaming all changes |
92 [255] | 92 [100] |
93 $ cat $TEMP_STDERR | 93 $ cat $TEMP_STDERR |
94 remote: abort: Cannot clone from a shallow repo to a full repo. | 94 remote: abort: Cannot clone from a shallow repo to a full repo. |
95 abort: pull failed on remote | 95 abort: pull failed on remote |
96 $ rm $TEMP_STDERR | 96 $ rm $TEMP_STDERR |
97 | 97 |