Show More
@@ -33,7 +33,7 b' class statichttprepository(localrepo.loc' | |||
|
33 | 33 | self._url = path |
|
34 | 34 | self.ui = ui |
|
35 | 35 | |
|
36 |
self.path = ( |
|
|
36 | self.path = path.rstrip('/') + "/.hg" | |
|
37 | 37 | self.opener = opener(self.path) |
|
38 | 38 | # find requirements |
|
39 | 39 | try: |
@@ -49,4 +49,18 b" echo '[hooks]' >> .hg/hgrc" | |||
|
49 | 49 | echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc |
|
50 | 50 | http_proxy= hg pull |
|
51 | 51 | |
|
52 | echo '% test with "/" URI (issue 747)' | |
|
53 | cd .. | |
|
54 | hg init | |
|
55 | echo a > a | |
|
56 | hg add a | |
|
57 | hg ci -ma | |
|
58 | ||
|
59 | http_proxy= hg clone static-http://localhost:20059/ local2 | |
|
60 | ||
|
61 | cd local2 | |
|
62 | hg verify | |
|
63 | cat a | |
|
64 | hg paths | |
|
65 | ||
|
52 | 66 | kill $! |
@@ -28,3 +28,17 b' adding manifests' | |||
|
28 | 28 | adding file changes |
|
29 | 29 | added 1 changesets with 1 changes to 1 files |
|
30 | 30 | (run 'hg update' to get a working copy) |
|
31 | % test with "/" URI (issue 747) | |
|
32 | requesting all changes | |
|
33 | adding changesets | |
|
34 | adding manifests | |
|
35 | adding file changes | |
|
36 | added 1 changesets with 1 changes to 1 files | |
|
37 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
38 | checking changesets | |
|
39 | checking manifests | |
|
40 | crosschecking files in changesets and manifests | |
|
41 | checking files | |
|
42 | 1 files, 1 changesets, 1 total revisions | |
|
43 | a | |
|
44 | default = static-http://localhost:20059/ |
General Comments 0
You need to be logged in to leave comments.
Login now