Mercurial > hg > fetch
comparison fetch.py @ 52:c9f2311dedea
inherit from the right ABC
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 15 Nov 2011 15:14:45 -0800 |
parents | 45f7a0f80e6a |
children | 81fe0523a078 |
comparison
equal
deleted
inserted
replaced
51:45f7a0f80e6a | 52:c9f2311dedea |
---|---|
250 | 250 |
251 fetchers.append(HgFetcher) | 251 fetchers.append(HgFetcher) |
252 | 252 |
253 if which('git'): | 253 if which('git'): |
254 | 254 |
255 class GitFetcher(Fetcher): | 255 class GitFetcher(VCSFetcher): |
256 """checkout a git repository""" | 256 """checkout a git repository""" |
257 type = 'git' | 257 type = 'git' |
258 | 258 |
259 def __init__(self, url, export=True): | 259 def __init__(self, url, export=True): |
260 VCSFetcher.__init__(self, url, export=export) | 260 VCSFetcher.__init__(self, url, export=export) |