Mercurial > hg > fetch
comparison fetch.py @ 32:46d5bd33311d
fix relative_to a bit
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 15 Nov 2011 11:53:13 -0800 |
parents | 60e0e932570e |
children | 14c791d8db59 |
comparison
equal
deleted
inserted
replaced
31:60e0e932570e | 32:46d5bd33311d |
---|---|
356 | 356 |
357 # sanity check | 357 # sanity check |
358 assert not [i for i in args if not os.path.exists(i)] | 358 assert not [i for i in args if not os.path.exists(i)] |
359 | 359 |
360 items = read_manifests(*args) | 360 items = read_manifests(*args) |
361 fetch = Fetch(fetchers, strict=options.strict) | 361 fetch = Fetch(fetchers, relative_to=options.output, strict=options.strict) |
362 | 362 |
363 # download the files | 363 # download the files |
364 fetch.fetch(*items) | 364 fetch.fetch(*items) |
365 | 365 |
366 if __name__ == '__main__': | 366 if __name__ == '__main__': |