| |
@@ -111,6 +111,15 @@
|
| |
error_msg = "During create remote:\n {0}\n {1}".format(
|
| |
" ".join(e.command), e.stderr)
|
| |
raise rpkgError(error_msg)
|
| |
+
|
| |
+ try:
|
| |
+ remote = [r for r in repo.remotes if r.name == remote_name][0]
|
| |
+ remote.fetch()
|
| |
+ except git.exc.GitCommandError as e:
|
| |
+ error_msg = "During fetch remote:\n {0}\n {1}".format(
|
| |
+ " ".join(e.command), e.stderr)
|
| |
+ raise rpkgError(error_msg)
|
| |
+
|
| |
return True
|
| |
|
| |
|
| |
fixes #32
fetches the forked repository after its creation.