Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-static-http.out Fri Apr 30 18:11:56 2010 +0200 +++ b/tests/test-static-http.out Mon Apr 26 20:13:14 2010 +0900 @@ -33,6 +33,15 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved abort: cannot lock static-http repository pushing to static-http://localhost:$HGPORT/remote +% trying clone -r +abort: unknown revision 'donotexist'! +requesting all changes +adding changesets +adding manifests +adding file changes +added 1 changesets with 1 changes to 1 files +updating to branch default +1 files updated, 0 files merged, 0 files removed, 0 files unresolved % test with "/" URI (issue 747) requesting all changes adding changesets