Show More
@@ -1,3 +1,11 | |||
|
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 | 10 | $ . "$TESTDIR/narrow-library.sh" |
|
3 | 11 | |
@@ -201,10 +209,17 not also in narrower repo | |||
|
201 | 209 | (run 'hg update' to get a working copy) |
|
202 | 210 | TODO: this should tell the user that their narrow clone does not have the |
|
203 | 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 | 215 | pushing to ssh://user@dummy/narrow2 |
|
206 | 216 | searching for changes |
|
207 | 217 | remote: adding changesets |
|
208 | 218 | remote: adding manifests |
|
209 | 219 | remote: adding file changes |
|
210 | 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