def __init__(self, path, url, overwrite=False, moveAside=False):
    self._path = path
    self._origin_url = url
    self._overwrite = overwrite
    self._moveAside = moveAside
    if self.validExistingRepo():
        self.update()
    else:
        self.createMirroredRepo()
def __init__(self, path, url, overwrite=False, moveAside=False):
    self._path = path
    self._origin_url = url
    self._overwrite = overwrite
    self._moveAside = moveAside
    if self.validExistingRepo():
        self.update()
    else:
        self.createMirroredRepo()