Show More
@@ -226,7 +226,8 b' Clone over http, no largefiles pulled on' | |||||
226 | added 1 changesets with 1 changes to 1 files |
|
226 | added 1 changesets with 1 changes to 1 files | |
227 |
|
227 | |||
228 | Archive contains largefiles |
|
228 | Archive contains largefiles | |
229 |
>>> import |
|
229 | >>> import os | |
|
230 | >>> import urllib2 | |||
230 | >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] |
|
231 | >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] | |
231 | >>> with open('archive.zip', 'w') as f: |
|
232 | >>> with open('archive.zip', 'w') as f: | |
232 | ... f.write(urllib2.urlopen(u).read()) |
|
233 | ... f.write(urllib2.urlopen(u).read()) |
General Comments 0
You need to be logged in to leave comments.
Login now