Changeset View
Changeset View
Standalone View
Standalone View
netrender/versioning.py
| Context not available. | |||||
| base, folder = os.path.split(info.wpath) | base, folder = os.path.split(info.wpath) | ||||
| with DirectoryContext(base): | with DirectoryContext(base): | ||||
| subprocess.call(["git", "clone", "%s" % (info.rpath), folder]) | subprocess.call(["git", "clone", "%s" % info.rpath, folder]) | ||||
| with DirectoryContext(info.wpath): | with DirectoryContext(info.wpath): | ||||
| subprocess.call(["git", "checkout", str(info.revision)]) | subprocess.call(["git", "checkout", str(info.revision)]) | ||||
| Context not available. | |||||