Mercurial > hg > fetch
diff fetch.py @ 20:738d84b4de52
start documenting
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 09 Nov 2011 19:55:15 -0800 |
parents | d69041957c0e |
children | 0706968f01bb |
line wrap: on
line diff
--- a/fetch.py Wed Nov 09 17:06:02 2011 -0800 +++ b/fetch.py Wed Nov 09 19:55:15 2011 -0800 @@ -124,7 +124,11 @@ """checkout a git repository""" type = 'git' - fetchers + def __init__(self, url, export=True): + VCSFetcher.__init__(self, url, export=True) + self.hg = which('git') + + fetchers.append(GitFetcher) __all__ += [i.__name__ for i in fetchers]