Show More
@@ -1,3 +1,11 b'' | |||||
|
1 | #testcases lfs-on lfs-off | |||
|
2 | ||||
|
3 | #if lfs-on | |||
|
4 | $ cat >> $HGRCPATH <<EOF | |||
|
5 | > [extensions] | |||
|
6 | > lfs = | |||
|
7 | > EOF | |||
|
8 | #endif | |||
1 |
|
9 | |||
2 | $ . "$TESTDIR/narrow-library.sh" |
|
10 | $ . "$TESTDIR/narrow-library.sh" | |
3 |
|
11 | |||
@@ -201,10 +209,17 b' not also in narrower repo' | |||||
201 | (run 'hg update' to get a working copy) |
|
209 | (run 'hg update' to get a working copy) | |
202 | TODO: this should tell the user that their narrow clone does not have the |
|
210 | TODO: this should tell the user that their narrow clone does not have the | |
203 | necessary content to be able to push to the target |
|
211 | necessary content to be able to push to the target | |
204 | $ hg push ssh://user@dummy/narrow2 |
|
212 | ||
|
213 | TODO: lfs shouldn't abort like this | |||
|
214 | $ hg push ssh://user@dummy/narrow2 || true | |||
205 | pushing to ssh://user@dummy/narrow2 |
|
215 | pushing to ssh://user@dummy/narrow2 | |
206 | searching for changes |
|
216 | searching for changes | |
207 | remote: adding changesets |
|
217 | remote: adding changesets | |
208 | remote: adding manifests |
|
218 | remote: adding manifests | |
209 | remote: adding file changes |
|
219 | remote: adding file changes | |
210 | remote: added 1 changesets with 0 changes to 0 files |
|
220 | remote: added 1 changesets with 0 changes to 0 files | |
|
221 | remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f.i@f59b4e021835: no match found (lfs-on !) | |||
|
222 | remote: transaction abort! (lfs-on !) | |||
|
223 | remote: rollback completed (lfs-on !) | |||
|
224 | remote: abort: data/inside2/f.i@f59b4e021835: no match found! (lfs-on !) | |||
|
225 | abort: stream ended unexpectedly (got 0 bytes, expected 4) (lfs-on !) |
General Comments 0
You need to be logged in to leave comments.
Login now