Mercurial > hg
comparison tests/test-static-http.out @ 11066:26abd91d9e84 stable
static-http: mimic more closely localrepo (issue2164: allow clone -r )
* httprangereader: name, __iter__ and close are needed to mimic file object
* static-http opener:
- disallow write/append modes
- add (unused) atomictemp parameter
* static-http repo:
- root attribute is needed for localrepo.dirstate()
- _branch* attributes are required for commitctx and branchmap calls
* tags: force repo.opener.__iter__ call earlier to force httprangereader
to try to read the cache early, to avoid raising IOError later.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 26 Apr 2010 20:13:14 +0900 |
parents | ace3cf2bc991 |
children | 4c94b6d0fb1c |
comparison
equal
deleted
inserted
replaced
11053:59d0d715fbfa | 11066:26abd91d9e84 |
---|---|
31 (run 'hg update' to get a working copy) | 31 (run 'hg update' to get a working copy) |
32 % trying to push | 32 % trying to push |
33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
34 abort: cannot lock static-http repository | 34 abort: cannot lock static-http repository |
35 pushing to static-http://localhost:$HGPORT/remote | 35 pushing to static-http://localhost:$HGPORT/remote |
36 % trying clone -r | |
37 abort: unknown revision 'donotexist'! | |
38 requesting all changes | |
39 adding changesets | |
40 adding manifests | |
41 adding file changes | |
42 added 1 changesets with 1 changes to 1 files | |
43 updating to branch default | |
44 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
36 % test with "/" URI (issue 747) | 45 % test with "/" URI (issue 747) |
37 requesting all changes | 46 requesting all changes |
38 adding changesets | 47 adding changesets |
39 adding manifests | 48 adding manifests |
40 adding file changes | 49 adding file changes |