From: Ralf Jung Date: Wed, 1 Aug 2012 19:51:33 +0000 (+0200) Subject: Make sure an updated git URL is used X-Git-Url: https://git.ralfj.de/mass-build.git/commitdiff_plain/926f118078401d607fe72027dff6ff51de28e8f8?ds=sidebyside Make sure an updated git URL is used --- diff --git a/vcs.py b/vcs.py index f40c6e9..e30d31a 100644 --- a/vcs.py +++ b/vcs.py @@ -24,6 +24,7 @@ class Git: # load existing repo repo = git.Repo(self.folder) origin = repo.remotes.origin + origin.config_writer.set_value("url", self.url) # make sure we use the current URL else: # create a new one os.makedirs(self.folder)